summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-05 16:13:50 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-05 16:13:50 +0300
commitac1ef6b19f5c1405cfaa239ab367a93b17043723 (patch)
treeaebfeffdafb2f493dab5392c5cd651e3bb1a8c9a /src/utils/stringutils.cpp
parent2674184006545257949770687eee362c84ed1964 (diff)
downloadplus-ac1ef6b19f5c1405cfaa239ab367a93b17043723.tar.gz
plus-ac1ef6b19f5c1405cfaa239ab367a93b17043723.tar.bz2
plus-ac1ef6b19f5c1405cfaa239ab367a93b17043723.tar.xz
plus-ac1ef6b19f5c1405cfaa239ab367a93b17043723.zip
Fix compilation on 32 bit systems.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r--src/utils/stringutils.cpp2
1 files changed, 1 insertions, 1 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';