[Scummvm-cvs-logs] SF.net SVN: scummvm: [26828] scummvm/trunk/engines/agos/res_ami.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Sun May 13 13:07:01 CEST 2007


Revision: 26828
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26828&view=rev
Author:   kirben
Date:     2007-05-13 04:07:00 -0700 (Sun, 13 May 2007)

Log Message:
-----------
Fix reported compiler warning.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/res_ami.cpp

Modified: scummvm/trunk/engines/agos/res_ami.cpp
===================================================================
--- scummvm/trunk/engines/agos/res_ami.cpp	2007-05-13 10:07:55 UTC (rev 26827)
+++ scummvm/trunk/engines/agos/res_ami.cpp	2007-05-13 11:07:00 UTC (rev 26828)
@@ -36,7 +36,7 @@
 static void uncompressPlane(const byte *plane, byte *outptr, int length) {
 	while (length != 0) {
 		int wordlen;
-		char x = *plane++;
+		signed char x = *plane++;
 		if (x >= 0) {
 			wordlen = MIN<int>(x + 1, length);
 			uint16 w = READ_UINT16(plane); plane += 2;


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