diff options
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]))); } |