aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2006-04-12 14:54:31 +0000
committerMax Horn2006-04-12 14:54:31 +0000
commit2c3e1fe4ea0473267f213b0ffd286009cc3f3771 (patch)
tree0e7c25a4901807a462d45c397661dfd8f14d5fb1 /engines
parentcf202049ff85bb63fcb0990f81ba173d1ab4d7c8 (diff)
downloadscummvm-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')
-rw-r--r--engines/sky/control.cpp2
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;