diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-21 22:44:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-21 23:18:20 +0300 |
commit | 62ffd2023d9073e452fe2e2f50cf6b2f11224d6f (patch) | |
tree | 8c45c7c16b0c20ac6a7b722d69c148149e6b651f /src/utils/stringutils.cpp | |
parent | cfa5391c1be51ef49380e398a72c813255d6316e (diff) | |
download | manaverse-62ffd2023d9073e452fe2e2f50cf6b2f11224d6f.tar.gz manaverse-62ffd2023d9073e452fe2e2f50cf6b2f11224d6f.tar.bz2 manaverse-62ffd2023d9073e452fe2e2f50cf6b2f11224d6f.tar.xz manaverse-62ffd2023d9073e452fe2e2f50cf6b2f11224d6f.zip |
next code style changes.
Diffstat (limited to 'src/utils/stringutils.cpp')
-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; } |