From 2c3e1fe4ea0473267f213b0ffd286009cc3f3771 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 12 Apr 2006 14:54:31 +0000 Subject: Fixing mismatch between format strings and data on some systems svn-id: r21828 --- engines/sky/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3