diff options
Diffstat (limited to 'engines/wintermute/utils/string_util.cpp')
-rw-r--r-- | engines/wintermute/utils/string_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/utils/string_util.cpp b/engines/wintermute/utils/string_util.cpp index 02946dbb2d..a1053bbef6 100644 --- a/engines/wintermute/utils/string_util.cpp +++ b/engines/wintermute/utils/string_util.cpp @@ -213,7 +213,7 @@ int StringUtil::indexOf(const WideString &str, const WideString &toFind, size_t } Common::String StringUtil::encodeSetting(const Common::String &str) { - for (int i = 0; i < str.size(); i++) { + for (uint32 i = 0; i < str.size(); i++) { if ((str[i] < 33) || (str[i] == '=') || (str[i] > 126)) { error("Setting contains illegal characters: %s", str.c_str()); } |