[Scummvm-cvs-logs] CVS: scummvm/scumm saveload.cpp,1.76,1.77

Jamieson Christian jamieson630 at users.sourceforge.net
Thu May 22 20:35:04 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv4909/scummvm/scumm

Modified Files:
	saveload.cpp 
Log Message:
Fixed VC++ warnings

Index: saveload.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/saveload.cpp,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- saveload.cpp	23 May 2003 02:58:34 -0000	1.76
+++ saveload.cpp	23 May 2003 03:34:18 -0000	1.77
@@ -941,7 +941,7 @@
 	while (sle->offs != 0xFFFF) {
 		at = (byte *)d + sle->offs;
 		size = sle->size;
-		type = sle->type;
+		type = (byte) sle->type;
 
 		if (sle->maxVersion != CURRENT_VER) {
 			// Skip obsolete entries
@@ -980,7 +980,7 @@
 	while (sle->offs != 0xFFFF) {
 		at = (byte *)d + sle->offs;
 		size = sle->size;
-		type = sle->type;
+		type = (byte) sle->type;
 
 		if (_savegameVersion < sle->minVersion || _savegameVersion > sle->maxVersion) {
 			// Skip entries which are not present in this save game version





More information about the Scummvm-git-logs mailing list