[Scummvm-cvs-logs] SF.net SVN: scummvm:[53632] scummvm/trunk/engines/saga/interface.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Wed Oct 20 05:54:33 CEST 2010


Revision: 53632
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53632&view=rev
Author:   eriktorbjorn
Date:     2010-10-20 03:54:33 +0000 (Wed, 20 Oct 2010)

Log Message:
-----------
SAGA: Silence warning

Modified Paths:
--------------
    scummvm/trunk/engines/saga/interface.cpp

Modified: scummvm/trunk/engines/saga/interface.cpp
===================================================================
--- scummvm/trunk/engines/saga/interface.cpp	2010-10-20 03:51:22 UTC (rev 53631)
+++ scummvm/trunk/engines/saga/interface.cpp	2010-10-20 03:54:33 UTC (rev 53632)
@@ -836,7 +836,7 @@
 		// can tell this is what the original engine does. And it keeps
 		// ITE from crashing when entering the Elk King's court.
 
-		if (_rightPortrait >= _scenePortraits.size())
+		if (_rightPortrait >= (int)_scenePortraits.size())
 			_rightPortrait = 0;
 
 		_vm->_sprite->draw(_scenePortraits, _rightPortrait, rightPortraitPoint, 256);


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