aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
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/sword2
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/sword2')
-rw-r--r--engines/sword2/resman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/resman.cpp b/engines/sword2/resman.cpp
index 51be644bcd..fae6f79409 100644
--- a/engines/sword2/resman.cpp
+++ b/engines/sword2/resman.cpp
@@ -512,7 +512,7 @@ void ResourceManager::checkMemUsage() {
tmp->ptr = NULL;
_usedMem -= tmp->size;
} else {
- warning("%d bytes of memory used, but cache list is empty!\n");
+ warning("%d bytes of memory used, but cache list is empty!\n", _usedMem);
return;
}
}