From 09f70b640897b4b36185acd7359e908eb0e3ae7b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 28 Jul 2008 22:21:11 +0000 Subject: Fixing 'warning: comparison of unsigned expression < 0 is always false' svn-id: r33383 --- engines/cine/various.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)."); -- cgit v1.2.3