summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-14 17:09:53 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-14 17:09:53 +0300
commit1a5e7c2f37f1f3b9969c01e61ab9347dcd546bee (patch)
treebf0285e1c321689e2a6b6d015099d2edcb0c3d1f /src/utils/stringutils.cpp
parent6045a08795de838f8f05ed86b8579288c4d8cbaf (diff)
downloadmv-1a5e7c2f37f1f3b9969c01e61ab9347dcd546bee.tar.gz
mv-1a5e7c2f37f1f3b9969c01e61ab9347dcd546bee.tar.bz2
mv-1a5e7c2f37f1f3b9969c01e61ab9347dcd546bee.tar.xz
mv-1a5e7c2f37f1f3b9969c01e61ab9347dcd546bee.zip
Fix compilation for windows 64 with mingw.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r--src/utils/stringutils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index 3663cc007..5a343cdbd 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -791,7 +791,7 @@ std::string toStringPrint(const unsigned int val)
return str;
}
-std::string toString(unsigned int num)
+std::string toString(uint32_t num)
{
char buf[30];
buf[29] = '\0';
@@ -802,7 +802,7 @@ std::string toString(unsigned int num)
return buf + idx + 1;
}
-std::string toString(unsigned long num)
+std::string toString(uint64_t num)
{
char buf[100];
buf[99] = '\0';
@@ -835,7 +835,7 @@ std::string toString(unsigned char num)
return buf + idx + 1;
}
-std::string toString(int num)
+std::string toString(int32_t num)
{
char buf[30];
bool useSign(false);