diff options
Diffstat (limited to 'src/utils')
-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 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; |