[Scummvm-cvs-logs] SF.net SVN: scummvm:[43814] scummvm/trunk/engines/sci/engine/kgraphics.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Sun Aug 30 04:10:25 CEST 2009


Revision: 43814
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43814&view=rev
Author:   mthreepwood
Date:     2009-08-30 02:10:25 +0000 (Sun, 30 Aug 2009)

Log Message:
-----------
Silence gcc warning.

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kgraphics.cpp

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-08-30 01:38:14 UTC (rev 43813)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-08-30 02:10:25 UTC (rev 43814)
@@ -302,7 +302,7 @@
 }
 
 static reg_t kSetCursorSci0(EngineState *s, int funct_nr, int argc, reg_t *argv) {
-	uint16 cursor = argv[0].toSint16();
+	int16 cursor = argv[0].toSint16();
 
 	if ((argc >= 2) && (argv[1].toSint16() == 0))
 		cursor = GFXOP_NO_POINTER;


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