summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-10-16 03:25:36 +0300
committerAndrei Karas <akaras@inbox.ru>2019-10-16 03:58:49 +0300
commita103f05d6eba441e25bd2905597a88db0b58e7b0 (patch)
treef6c480fe712427f001cb2ef198de2bbb43babe3f /src/utils/stringutils.cpp
parente15da561988948de26c80105dc9762943009b9e7 (diff)
downloadmanaplus-a103f05d6eba441e25bd2905597a88db0b58e7b0.tar.gz
manaplus-a103f05d6eba441e25bd2905597a88db0b58e7b0.tar.bz2
manaplus-a103f05d6eba441e25bd2905597a88db0b58e7b0.tar.xz
manaplus-a103f05d6eba441e25bd2905597a88db0b58e7b0.zip
Change type for some loop variables [ci skip]
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 99160905d..e065616fe 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -251,7 +251,7 @@ unsigned int decodeStr(const std::string &str)
int res = str[0] - start;
int mult = 1;
- for (unsigned int f = 1; f < str.length(); f ++)
+ for (size_t f = 1; f < str.length(); f ++)
{
mult *= base;
res = res + (str[f] - start) * mult;