[Scummvm-cvs-logs] SF.net SVN: scummvm:[34225] scummvm/trunk/engines/gob/draw.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Sun Aug 31 13:37:08 CEST 2008


Revision: 34225
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34225&view=rev
Author:   drmccoy
Date:     2008-08-31 11:37:07 +0000 (Sun, 31 Aug 2008)

Log Message:
-----------
Shutting up a warning on systems where char is signed by default

Modified Paths:
--------------
    scummvm/trunk/engines/gob/draw.cpp

Modified: scummvm/trunk/engines/gob/draw.cpp
===================================================================
--- scummvm/trunk/engines/gob/draw.cpp	2008-08-31 10:43:32 UTC (rev 34224)
+++ scummvm/trunk/engines/gob/draw.cpp	2008-08-31 11:37:07 UTC (rev 34225)
@@ -334,7 +334,7 @@
 	if (_vm->_global->_language == 10) {
 
 		for (int i = 0; str[i] != 0; i++) {
-			if (str[i+1] < 128) {
+			if (((unsigned char) str[i+1]) < 128) {
 				len += dword_8F74C[4];
 				i++;
 			} else


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