aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/dataio.cpp2
-rw-r--r--engines/gob/game.cpp2
-rw-r--r--engines/gob/parse.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/gob/dataio.cpp b/engines/gob/dataio.cpp
index c685e88bec..b862302492 100644
--- a/engines/gob/dataio.cpp
+++ b/engines/gob/dataio.cpp
@@ -114,7 +114,7 @@ int32 DataIO::readChunk(int16 handle, char *buf, int16 size) {
offset =
_vm->_global->_chunkOffset[file * MAX_SLOT_COUNT + slot] +
_vm->_global->_chunkPos[file * MAX_SLOT_COUNT + slot];
- debugC(7, DEBUG_FILEIO, "seek: %ld, %ld", _vm->_global->_chunkOffset[file * MAX_SLOT_COUNT + slot], _vm->_global->_chunkPos[file * MAX_SLOT_COUNT + slot]);
+ debugC(7, DEBUG_FILEIO, "seek: %d, %d", _vm->_global->_chunkOffset[file * MAX_SLOT_COUNT + slot], _vm->_global->_chunkPos[file * MAX_SLOT_COUNT + slot]);
file_getHandle(_vm->_global->_dataFileHandles[file])->seek(offset, SEEK_SET);
}
diff --git a/engines/gob/game.cpp b/engines/gob/game.cpp
index d982c47074..677c0cc5cd 100644
--- a/engines/gob/game.cpp
+++ b/engines/gob/game.cpp
@@ -139,7 +139,7 @@ char *Game::loadExtData(int16 itemId, int16 *pResWidth, int16 *pResHeight) {
handle = commonHandle;
}
- debugC(7, DEBUG_FILEIO, "off: %ld size: %ld", offset, tableSize);
+ debugC(7, DEBUG_FILEIO, "off: %d size: %d", offset, tableSize);
_vm->_dataio->seekData(handle, offset + tableSize, SEEK_SET);
// CHECKME: is the below correct?
if (isPacked)
diff --git a/engines/gob/parse.cpp b/engines/gob/parse.cpp
index 45de528adb..947de49d79 100644
--- a/engines/gob/parse.cpp
+++ b/engines/gob/parse.cpp
@@ -168,7 +168,7 @@ void Parse::printExpr(char stopToken) {
if (operation >= 19 && operation <= 29) {
switch (operation) {
case 19:
- debugN(5, "%l", READ_LE_UINT32(_vm->_global->_inter_execPtr));
+ debugN(5, "%d", READ_LE_UINT32(_vm->_global->_inter_execPtr));
_vm->_global->_inter_execPtr += 4;
break;
@@ -283,7 +283,7 @@ void Parse::printExpr(char stopToken) {
break;
case 7:
- debugN(5, "%");
+ debugN(5, "%%");
break;
case 8: