aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;