[Scummvm-cvs-logs] SF.net SVN: scummvm:[33119] residual/trunk/engine/backend/sdl/driver_tinygl .cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Sun Jul 20 12:02:20 CEST 2008


Revision: 33119
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33119&view=rev
Author:   aquadran
Date:     2008-07-20 10:02:13 +0000 (Sun, 20 Jul 2008)

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

Modified Paths:
--------------
    residual/trunk/engine/backend/sdl/driver_tinygl.cpp

Modified: residual/trunk/engine/backend/sdl/driver_tinygl.cpp
===================================================================
--- residual/trunk/engine/backend/sdl/driver_tinygl.cpp	2008-07-20 09:55:29 UTC (rev 33118)
+++ residual/trunk/engine/backend/sdl/driver_tinygl.cpp	2008-07-20 10:02:13 UTC (rev 33119)
@@ -586,7 +586,7 @@
 	uint16 color = ((fgColor.red() & 0xF8) << 8) | ((fgColor.green() & 0xFC) << 3) | (fgColor.blue() >> 3);
 
 	for (int l = 0; l < (int)strlen(text); l++) {
-		char c = text[l];
+		int c = text[l];
 		assert(c >= 32 && c <= 127);
 		const uint8 *ptr = Font::emerFont[c - 32];
 		for (int py = 0; py < 13; py++) {


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