aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/script.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/saga/script.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/saga/script.cpp')
-rw-r--r--engines/saga/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp
index 3d3a626e9f..7c203605ee 100644
--- a/engines/saga/script.cpp
+++ b/engines/saga/script.cpp
@@ -95,7 +95,7 @@ Script::Script(SagaEngine *vm) : _vm(vm) {
} else if (resourceLength % S_LUT_ENTRYLEN_ITEDISK == 0) {
_modulesLUTEntryLen = S_LUT_ENTRYLEN_ITEDISK;
} else {
- error("Script::Script() Invalid script lookup table length (%i)", resourceLength);
+ error("Script::Script() Invalid script lookup table length (%i)", (int)resourceLength);
}
// Calculate number of entries