mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
Fixed VC++ warnings
svn-id: r7847
This commit is contained in:
parent
a0a096e2e8
commit
bb1894e3b7
@ -941,7 +941,7 @@ void Serializer::saveEntries(void *d, const SaveLoadEntry *sle) {
|
||||
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 @@ void Serializer::loadEntries(void *d, const SaveLoadEntry *sle) {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user