summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-09 17:52:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-09 17:52:58 +0300
commit2fc2ae36225bbf7279e5093e236f2c16a674285d (patch)
tree021c0079ac65029446caccb4f2d9432427c4ce35 /src/utils/stringutils.cpp
parent6b60e9b14ff3cadcf12e0f487eb7b389fa9c81e4 (diff)
downloadplus-2fc2ae36225bbf7279e5093e236f2c16a674285d.tar.gz
plus-2fc2ae36225bbf7279e5093e236f2c16a674285d.tar.bz2
plus-2fc2ae36225bbf7279e5093e236f2c16a674285d.tar.xz
plus-2fc2ae36225bbf7279e5093e236f2c16a674285d.zip
Fix compilation warnings.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r--src/utils/stringutils.cpp4
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;