diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/stringutils.cpp | 2 | ||||
-rw-r--r-- | src/utils/stringutils.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index 706135a56..c53d33884 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -720,7 +720,7 @@ std::string toString(unsigned int num) return buf + idx + 1; } -std::string toString(size_t num) +std::string toString(unsigned long num) { char buf[100]; buf[99] = '\0'; diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index cc479d80c..738b56cb8 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -72,7 +72,7 @@ unsigned int atox(const std::string &str) A_WARN_UNUSED; */ std::string toString(unsigned int num); -std::string toString(size_t num); +std::string toString(unsigned long num); std::string toString(unsigned char num); |