diff options
author | Joost Peters | 2003-07-01 22:51:49 +0000 |
---|---|---|
committer | Joost Peters | 2003-07-01 22:51:49 +0000 |
commit | b7f9b1a5d88a0872ff40d8d540bebd120632eebf (patch) | |
tree | a30e18241180f022fc6adb4545e3ec4f316a1fda /sky/control.cpp | |
parent | 665ab4a8d9bcc5c4176351f208958449d0907b63 (diff) | |
download | scummvm-rg350-b7f9b1a5d88a0872ff40d8d540bebd120632eebf.tar.gz scummvm-rg350-b7f9b1a5d88a0872ff40d8d540bebd120632eebf.tar.bz2 scummvm-rg350-b7f9b1a5d88a0872ff40d8d540bebd120632eebf.zip |
fixed warnings
svn-id: r8692
Diffstat (limited to 'sky/control.cpp')
-rw-r--r-- | sky/control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/control.cpp b/sky/control.cpp index a5c8c0d63d..01e47f64aa 100644 --- a/sky/control.cpp +++ b/sky/control.cpp @@ -1154,7 +1154,7 @@ uint16 SkyControl::parseSaveData(uint8 *srcBuf) { for (cnt = 0; cnt < 13; cnt++) LODSW(srcPos, SkyCompact::high_floor_table[cnt]); - if (srcPos - srcBuf != size) + if (srcPos - srcBuf != (int32)size) error("Restore failed! Savegame data = %d bytes. Expected size: %d.\n", srcPos-srcBuf, size); _skyLogic->fnLeaveSection(oldSection, 0, 0); |