aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2008-07-28 22:21:11 +0000
committerMax Horn2008-07-28 22:21:11 +0000
commit09f70b640897b4b36185acd7359e908eb0e3ae7b (patch)
tree091e0e0757c77b651ed5eba208495fcde1e3c1d6 /engines
parentd2639f0c845b8b1f07a3545868e61c29c067cbca (diff)
downloadscummvm-rg350-09f70b640897b4b36185acd7359e908eb0e3ae7b.tar.gz
scummvm-rg350-09f70b640897b4b36185acd7359e908eb0e3ae7b.tar.bz2
scummvm-rg350-09f70b640897b4b36185acd7359e908eb0e3ae7b.zip
Fixing 'warning: comparison of unsigned expression < 0 is always false'
svn-id: r33383
Diffstat (limited to 'engines')
-rw-r--r--engines/cine/various.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp
index 379b723d2c..ab181743db 100644
--- a/engines/cine/various.cpp
+++ b/engines/cine/various.cpp
@@ -724,7 +724,7 @@ bool CineEngine::loadTempSaveOS(Common::SeekableReadStream &in) {
} else if (hdr.version > CURRENT_OS_SAVE_VER) {
warning("loadTempSaveOS: Detected newer format version. Not loading savegame");
return false;
- } else if (hdr.version < CURRENT_OS_SAVE_VER) {
+ } else if ((int)hdr.version < (int)CURRENT_OS_SAVE_VER) {
warning("loadTempSaveOS: Detected older format version. Trying to load nonetheless. Things may break");
} else { // hdr.id == TEMP_OS_FORMAT_ID && hdr.version == CURRENT_OS_SAVE_VER
debug(3, "loadTempSaveOS: Found correct header (Both the identifier and version number match).");