aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/dataio.cpp
diff options
context:
space:
mode:
authorMax Horn2006-03-08 11:37:25 +0000
committerMax Horn2006-03-08 11:37:25 +0000
commitd9a9fac93761a06e78fe7e7091ae5a888c1260f2 (patch)
tree62da9040abb98b0b49c0ba8a14777f32c6452c4f /engines/gob/dataio.cpp
parent14f1337c602a1823d2be26fe5b48bc4722aca681 (diff)
downloadscummvm-rg350-d9a9fac93761a06e78fe7e7091ae5a888c1260f2.tar.gz
scummvm-rg350-d9a9fac93761a06e78fe7e7091ae5a888c1260f2.tar.bz2
scummvm-rg350-d9a9fac93761a06e78fe7e7091ae5a888c1260f2.zip
Fixed tons of format string warnings for debug/error calls (including several errors where the format string didn't match the number of arguments to the call)
svn-id: r21141
Diffstat (limited to 'engines/gob/dataio.cpp')
-rw-r--r--engines/gob/dataio.cpp2
1 files changed, 1 insertions, 1 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);
}