diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-09 17:52:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-09 17:52:58 +0300 |
commit | 2fc2ae36225bbf7279e5093e236f2c16a674285d (patch) | |
tree | 021c0079ac65029446caccb4f2d9432427c4ce35 /src/utils/stringutils.cpp | |
parent | 6b60e9b14ff3cadcf12e0f487eb7b389fa9c81e4 (diff) | |
download | manaplus-2fc2ae36225bbf7279e5093e236f2c16a674285d.tar.gz manaplus-2fc2ae36225bbf7279e5093e236f2c16a674285d.tar.bz2 manaplus-2fc2ae36225bbf7279e5093e236f2c16a674285d.tar.xz manaplus-2fc2ae36225bbf7279e5093e236f2c16a674285d.zip |
Fix compilation warnings.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r-- | src/utils/stringutils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index 5674abfd9..b308a5abe 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -747,9 +747,9 @@ bool parse2Int(const std::string &args, int &x, int &y) return isValid; } -int parseNumber(const std::string &str) +uint32_t parseNumber(const std::string &str) { - int i = 0; + uint32_t i = 0; int idx = 0; if (strStartWith(str, "0x")) idx = 2; |