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); //////////////////////////////////////////////////////////////////////////