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 57d83fbdc..a4eafda26 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -535,7 +535,7 @@ std::string stringToHexPath(const std::string &str) return ""; std::string hex = strprintf("%%%2x/", static_cast<int>(str[0])); - for (unsigned f = 1, sz = str.size(); f < sz; f ++) + for (unsigned f = 1, sz = static_cast<unsigned>(str.size()); f < sz; f ++) hex += strprintf("%%%2x", static_cast<int>(str[f])); return hex; } |