[Scummvm-cvs-logs] SF.net SVN: scummvm:[43971] scummvm/trunk/engines/kyra/gui_lol.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Sun Sep 6 03:30:46 CEST 2009


Revision: 43971
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43971&view=rev
Author:   athrxx
Date:     2009-09-06 01:30:45 +0000 (Sun, 06 Sep 2009)

Log Message:
-----------
LOL: fixed warning

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/gui_lol.cpp

Modified: scummvm/trunk/engines/kyra/gui_lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/gui_lol.cpp	2009-09-06 01:24:54 UTC (rev 43970)
+++ scummvm/trunk/engines/kyra/gui_lol.cpp	2009-09-06 01:30:45 UTC (rev 43971)
@@ -2351,7 +2351,7 @@
 
 			int slotOffs = (_currentMenu == &_saveMenu) ? 1 : 0;
 
-			if (((uint)_savegameOffset == _saveSlots.size() - (4 - slotOffs)) || _saveSlots.size() < (5 - slotOffs)) {
+			if (((uint)_savegameOffset == _saveSlots.size() - (4 - slotOffs)) || _saveSlots.size() < (uint)(5 - slotOffs)) {
 				_scrollDownButton.data0ShapePtr = _scrollDownButton.data1ShapePtr = _scrollDownButton.data2ShapePtr = 0;
 			} else {
 				_scrollDownButton.data0ShapePtr = _vm->_gameShapes[18];


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list