diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-05 16:13:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-05 16:13:50 +0300 |
commit | ac1ef6b19f5c1405cfaa239ab367a93b17043723 (patch) | |
tree | aebfeffdafb2f493dab5392c5cd651e3bb1a8c9a /src/utils/stringutils.cpp | |
parent | 2674184006545257949770687eee362c84ed1964 (diff) | |
download | manaverse-ac1ef6b19f5c1405cfaa239ab367a93b17043723.tar.gz manaverse-ac1ef6b19f5c1405cfaa239ab367a93b17043723.tar.bz2 manaverse-ac1ef6b19f5c1405cfaa239ab367a93b17043723.tar.xz manaverse-ac1ef6b19f5c1405cfaa239ab367a93b17043723.zip |
Fix compilation on 32 bit systems.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r-- | src/utils/stringutils.cpp | 2 |
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'; |