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
This commit is contained in:
Max Horn 2006-03-08 11:37:25 +00:00
parent 14f1337c60
commit d9a9fac937
30 changed files with 255 additions and 212 deletions

View file

@ -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