[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.54,1.55
Max Horn
fingolfin at users.sourceforge.net
Sat Aug 24 14:58:16 CEST 2002
Update of /cvsroot/scummvm/scummvm/simon
In directory usw-pr-cvs1:/tmp/cvs-serv19830/simon
Modified Files:
simon.cpp
Log Message:
fixed warnings
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- simon.cpp 24 Aug 2002 13:16:54 -0000 1.54
+++ simon.cpp 24 Aug 2002 21:57:00 -0000 1.55
@@ -4127,7 +4127,7 @@
resfile_read(_game_offsets_ptr, 0, gss->NUM_GAME_OFFSETS * sizeof(uint32));
#if defined(SCUMM_BIG_ENDIAN)
- for (int r = 0; r < gss->NUM_GAME_OFFSETS; r++)
+ for (uint r = 0; r < gss->NUM_GAME_OFFSETS; r++)
_game_offsets_ptr[r] = READ_LE_UINT32(&_game_offsets_ptr[r]);
#endif
}
@@ -4716,11 +4716,12 @@
}
#if defined(SCUMM_BIG_ENDIAN)
- for (int r = 0; r < gss->NUM_VOICE_RESOURCES; r++)
+ uint r;
+ for (r = 0; r < gss->NUM_VOICE_RESOURCES; r++)
_voice_offsets[r] = READ_LE_UINT32(&_voice_offsets[r]);
if (_effects_offsets)
- for (int r = 0; r < gss->NUM_EFFECTS_RESOURCES; r++)
+ for (r = 0; r < gss->NUM_EFFECTS_RESOURCES; r++)
_effects_offsets[r] = READ_LE_UINT32(&_effects_offsets[r]);
#endif
}
More information about the Scummvm-git-logs
mailing list