[Scummvm-cvs-logs] CVS: scummvm/queen graphics.cpp,1.10,1.11

Oliver Kiehl olki at users.sourceforge.net
Tue Oct 7 08:28:13 CEST 2003


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv19650/queen

Modified Files:
	graphics.cpp 
Log Message:
fix gcc 3.3 warning


Index: graphics.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/graphics.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- graphics.cpp	7 Oct 2003 14:05:56 -0000	1.10
+++ graphics.cpp	7 Oct 2003 15:27:53 -0000	1.11
@@ -804,7 +804,7 @@
 
 	uint16 len = 0;
 	while (*text) {
-		len += FONT_SIZES[ *text ];
+		len += FONT_SIZES[ (int)*text ];
 		++text;
 	}
 	return len;





More information about the Scummvm-git-logs mailing list