[Scummvm-cvs-logs] CVS: scummvm-new/simon simon.cpp,1.3,1.4
Max Horn
fingolfin at users.sourceforge.net
Sat Aug 24 14:58:02 CEST 2002
Update of /cvsroot/scummvm/scummvm-new/simon
In directory usw-pr-cvs1:/tmp/cvs-serv19814/simon
Modified Files:
simon.cpp
Log Message:
fixed warnings
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm-new/simon/simon.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- simon.cpp 24 Aug 2002 15:31:37 -0000 1.3
+++ simon.cpp 24 Aug 2002 21:56:58 -0000 1.4
@@ -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