diff options
author | Einar Johan Trøan Sømåen | 2013-01-22 20:58:23 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-01-22 20:58:23 +0100 |
commit | 4095b76939fac2e1852a07de73d19ebbb55015b9 (patch) | |
tree | 0ec4ae5356ff7fba8de01eca9fdb75c94757570c /engines/wintermute/utils/string_util.cpp | |
parent | bede97c52c703366dbcf64fbfff4c7a6e77763d2 (diff) | |
download | scummvm-rg350-4095b76939fac2e1852a07de73d19ebbb55015b9.tar.gz scummvm-rg350-4095b76939fac2e1852a07de73d19ebbb55015b9.tar.bz2 scummvm-rg350-4095b76939fac2e1852a07de73d19ebbb55015b9.zip |
WINTERMUTE: Silence a warning.
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()); } |