diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:20:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:20:59 +0300 |
commit | 21069ec1635bd24ab33805e033d28f2c0b2de482 (patch) | |
tree | faaa3b2cdebc89b0202151b27595864535395585 /src/utils/stringutils.cpp | |
parent | 65c3c7a8ac6437d507597b840fc20dc1cad5fbf1 (diff) | |
download | manaplus-21069ec1635bd24ab33805e033d28f2c0b2de482.tar.gz manaplus-21069ec1635bd24ab33805e033d28f2c0b2de482.tar.bz2 manaplus-21069ec1635bd24ab33805e033d28f2c0b2de482.tar.xz manaplus-21069ec1635bd24ab33805e033d28f2c0b2de482.zip |
Add missing const in utils directory.
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 e7887bc48..b2ac25875 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -601,8 +601,8 @@ std::string stringToHexPath(const std::string &str) return ""; std::string hex = strprintf("%%%2x/", CAST_U32(str[0])); - for (unsigned f = 1, sz = CAST_U32(str.size()); - f < sz; f ++) + for (unsigned f = 1, fsz = CAST_U32(str.size()); + f < fsz; f ++) { hex.append(strprintf("%%%2x", CAST_U32(str[f]))); } |