[Scummvm-cvs-logs] CVS: scummvm/saga sndres.cpp,1.12,1.13

Pawel Kolodziejski aquadran at users.sourceforge.net
Tue May 4 23:57:02 CEST 2004


Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30309

Modified Files:
	sndres.cpp 
Log Message:
workaround warning - fixme

Index: sndres.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/sndres.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- sndres.cpp	4 May 2004 03:33:03 -0000	1.12
+++ sndres.cpp	5 May 2004 06:56:01 -0000	1.13
@@ -142,7 +142,7 @@
 	voc_hb.voc_version = readS->readUint16LE();
 	voc_hb.voc_fileid = readS->readUint16LE();
 
-	if (snd_res_len - readS->tell() < voc_hb.db_offset + R_VOC_GENBLOCK_LEN) {
+	if ((int32)(snd_res_len - readS->tell()) < (int32)(voc_hb.db_offset + R_VOC_GENBLOCK_LEN)) {
 		return R_FAILURE;
 	}
 





More information about the Scummvm-git-logs mailing list