summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:20:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:20:59 +0300
commit21069ec1635bd24ab33805e033d28f2c0b2de482 (patch)
treefaaa3b2cdebc89b0202151b27595864535395585 /src/utils/stringutils.cpp
parent65c3c7a8ac6437d507597b840fc20dc1cad5fbf1 (diff)
downloadmv-21069ec1635bd24ab33805e033d28f2c0b2de482.tar.gz
mv-21069ec1635bd24ab33805e033d28f2c0b2de482.tar.bz2
mv-21069ec1635bd24ab33805e033d28f2c0b2de482.tar.xz
mv-21069ec1635bd24ab33805e033d28f2c0b2de482.zip
Add missing const in utils directory.
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 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])));
}