summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-21 22:44:44 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-21 23:18:20 +0300
commit62ffd2023d9073e452fe2e2f50cf6b2f11224d6f (patch)
tree8c45c7c16b0c20ac6a7b722d69c148149e6b651f /src/utils/stringutils.cpp
parentcfa5391c1be51ef49380e398a72c813255d6316e (diff)
downloadManaVerse-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.cpp2
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;
}