[Scummvm-cvs-logs] CVS: scummvm insane.cpp,1.40,1.41

Pawe? Ko?odziejski aquadran at users.sourceforge.net
Thu Jul 11 13:35:05 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv10792

Modified Files:
	insane.cpp 
Log Message:
fixed warnings

Index: insane.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/insane.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- insane.cpp	10 Jul 2002 20:30:47 -0000	1.40
+++ insane.cpp	11 Jul 2002 20:34:52 -0000	1.41
@@ -73,7 +73,8 @@
 {
 	byte buf[100];
 	FILE * f_tres;
-	uint32 tmp, l;
+	uint32 tmp;
+	int l;
 	byte * buffer = NULL;
 
 	for (l = 0; l < SP_MAX_FONTS; l++)
@@ -232,7 +233,7 @@
 void SmushPlayer::drawCharTRES(uint32 * x, uint32 y, uint32 c_line, uint8 color, uint8 txt)
 {
 	byte * font = _fonts[_c_font];
-	uint32 offset = 0, t_offset, l, width, height, length;
+	uint32 offset = 0, t_offset = 0, l, width, height, length = 0;
 	
 	if (font == NULL)
 		return;





More information about the Scummvm-git-logs mailing list