aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
diff options
context:
space:
mode:
authorColin Snover2017-03-30 14:02:27 -0500
committerColin Snover2017-03-30 14:23:41 -0500
commita233696212c1707be4c993de8c36228137475af1 (patch)
tree9ee46dc8e2dc68aec38dcbaadc1f6da2984c20e8 /engines/sci/console.cpp
parent993d83fe4b65cc30d43ceb4de38c036889a6f4ae (diff)
downloadscummvm-rg350-a233696212c1707be4c993de8c36228137475af1.tar.gz
scummvm-rg350-a233696212c1707be4c993de8c36228137475af1.tar.bz2
scummvm-rg350-a233696212c1707be4c993de8c36228137475af1.zip
SCI: Update formatting strings to match updated Span API
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r--engines/sci/console.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index eed0be1a82..16f59523b4 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -954,7 +954,7 @@ bool Console::cmdResourceInfo(int argc, const char **argv) {
else {
Resource *resource = _engine->getResMan()->findResource(ResourceId(res, resNum), 0);
if (resource) {
- debugPrintf("Resource size: %lu\n", resource->size());
+ debugPrintf("Resource size: %u\n", resource->size());
debugPrintf("Resource location: %s\n", resource->getResourceLocation().c_str());
} else {
debugPrintf("Resource %s.%03d not found\n", argv[1], resNum);
@@ -1067,11 +1067,11 @@ bool Console::cmdVerifyScripts(int argc, const char **argv) {
debugPrintf("Error: script %d doesn't have a corresponding heap\n", itr->getNumber());
if (script && heap && (script->size() + heap->size() > 65535))
- debugPrintf("Error: script and heap %d together are larger than 64KB (%lu bytes)\n",
+ debugPrintf("Error: script and heap %d together are larger than 64KB (%u bytes)\n",
itr->getNumber(), script->size() + heap->size());
} else { // SCI3
if (script && script->size() > 65535)
- debugPrintf("Error: script %d is larger than 64KB (%lu bytes)\n",
+ debugPrintf("Error: script %d is larger than 64KB (%u bytes)\n",
itr->getNumber(), script->size());
}
}