diff options
author | Max Horn | 2006-04-12 14:54:31 +0000 |
---|---|---|
committer | Max Horn | 2006-04-12 14:54:31 +0000 |
commit | 2c3e1fe4ea0473267f213b0ffd286009cc3f3771 (patch) | |
tree | 0e7c25a4901807a462d45c397661dfd8f14d5fb1 /engines/sky | |
parent | cf202049ff85bb63fcb0990f81ba173d1ab4d7c8 (diff) | |
download | scummvm-rg350-2c3e1fe4ea0473267f213b0ffd286009cc3f3771.tar.gz scummvm-rg350-2c3e1fe4ea0473267f213b0ffd286009cc3f3771.tar.bz2 scummvm-rg350-2c3e1fe4ea0473267f213b0ffd286009cc3f3771.zip |
Fixing mismatch between format strings and data on some systems
svn-id: r21828
Diffstat (limited to 'engines/sky')
-rw-r--r-- | engines/sky/control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sky/control.cpp b/engines/sky/control.cpp index 8ab76e647c..04eecfe428 100644 --- a/engines/sky/control.cpp +++ b/engines/sky/control.cpp @@ -1421,7 +1421,7 @@ uint16 Control::parseSaveData(uint8 *srcBuf) { _skyCompact->fetchCpt(cnt)->status = 0; if (srcPos - srcBuf != (int32)size) - error("Restore failed! Savegame data = %lu bytes. Expected size: %d", srcPos-srcBuf, size); + error("Restore failed! Savegame data = %lu bytes. Expected size: %d", (long)(srcPos-srcBuf), size); _skyDisk->refreshFilesList(reloadList); SkyEngine::_systemVars.currentMusic = (uint16)music; |