From 7637243b43c7faa300d296f67cae66634ea1054e Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Wed, 27 Nov 2019 19:08:23 +0300 Subject: [PATCH] 32-bit build fix --- profiler_gui/common_functions.cpp | 4 ++-- profiler_gui/common_functions.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/profiler_gui/common_functions.cpp b/profiler_gui/common_functions.cpp index cde9c6a..9103b04 100644 --- a/profiler_gui/common_functions.cpp +++ b/profiler_gui/common_functions.cpp @@ -319,7 +319,7 @@ namespace profiler_gui { ////////////////////////////////////////////////////////////////////////// - QString shortenCountString(size_t count, int precision) + QString shortenCountString(uint64_t count, int precision) { return shortenCountStringUnsigned(count, precision); } @@ -334,7 +334,7 @@ namespace profiler_gui { return shortenCountStringSigned(count, precision); } - QString shortenCountString(int count, int precision) + QString shortenCountString(int32_t count, int precision) { return shortenCountStringSigned(count, precision); } diff --git a/profiler_gui/common_functions.h b/profiler_gui/common_functions.h index 2060248..e5a20a6 100644 --- a/profiler_gui/common_functions.h +++ b/profiler_gui/common_functions.h @@ -199,10 +199,10 @@ QString timeStringIntNs(TimeUnits _units, ::profiler::timestamp_t _interval); ////////////////////////////////////////////////////////////////////////// -QString shortenCountString(size_t count, int precision = 1); +QString shortenCountString(uint64_t count, int precision = 1); QString shortenCountString(uint32_t count, int precision = 1); QString shortenCountString(int64_t count, int precision = 1); -QString shortenCountString(int count, int precision = 1); +QString shortenCountString(int32_t count, int precision = 1); //////////////////////////////////////////////////////////////////////////