diff options
author | Torbjörn Andersson | 2014-09-03 18:08:38 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2014-09-03 18:08:38 +0200 |
commit | 9baf687f2f005797ba3dee57e467ca5f0fcd21f3 (patch) | |
tree | 93a7b12845720a2708f1c7eff06cc36cf9e53810 | |
parent | 55c8b7a11a262e7bc2cfda87447c0c2c0ecf972b (diff) | |
download | scummvm-rg350-9baf687f2f005797ba3dee57e467ca5f0fcd21f3.tar.gz scummvm-rg350-9baf687f2f005797ba3dee57e467ca5f0fcd21f3.tar.bz2 scummvm-rg350-9baf687f2f005797ba3dee57e467ca5f0fcd21f3.zip |
WINTERMUTE: Silence GCC signed/unsigned comparison warning
-rw-r--r-- | engines/wintermute/base/base_string_table.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/base/base_string_table.cpp b/engines/wintermute/base/base_string_table.cpp index 7a2428bd48..89407a7b0e 100644 --- a/engines/wintermute/base/base_string_table.cpp +++ b/engines/wintermute/base/base_string_table.cpp @@ -263,13 +263,13 @@ bool BaseStringTable::persist(BasePersistenceManager *persistMgr) { uint32 numFiles = _filenames.size(); persistMgr->transferUint32("NumFiles", &numFiles); if (persistMgr->getIsSaving()) { - for (int i = 0; i < numFiles; i++) { + for (uint i = 0; i < numFiles; i++) { persistMgr->transferString("Filename", &_filenames[i]); } } else { _strings.clear(); _filenames.clear(); - for (int i = 0; i < numFiles; i++) { + for (uint i = 0; i < numFiles; i++) { Common::String filename = ""; persistMgr->transferString("Filename", &filename); loadFile(filename.c_str(), false); |