[Scummvm-cvs-logs] CVS: scummvm/scumm/smush smush_font.cpp,1.20,1.21

Pawel Kolodziejski aquadran at users.sourceforge.net
Sat Aug 14 02:11:36 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm/smush
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11201/scummvm/scumm/smush

Modified Files:
	smush_font.cpp 
Log Message:
fixed warnings

Index: smush_font.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/smush_font.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- smush_font.cpp	18 Jul 2004 22:29:22 -0000	1.20
+++ smush_font.cpp	14 Aug 2004 09:10:13 -0000	1.21
@@ -162,7 +162,7 @@
 
 	while (str) {
 		char line[256];
-		char *pos = strchr(str, '\n');
+		char *pos = (char *)strchr(str, '\n');
 		if (pos) {
 			memcpy(line, str, pos - str - 1);
 			line[pos - str - 1] = 0;





More information about the Scummvm-git-logs mailing list