From a233696212c1707be4c993de8c36228137475af1 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Thu, 30 Mar 2017 14:02:27 -0500 Subject: SCI: Update formatting strings to match updated Span API --- engines/sci/parser/vocabulary.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci/parser') diff --git a/engines/sci/parser/vocabulary.cpp b/engines/sci/parser/vocabulary.cpp index 4fefff6e3b..1f062c6363 100644 --- a/engines/sci/parser/vocabulary.cpp +++ b/engines/sci/parser/vocabulary.cpp @@ -299,7 +299,7 @@ bool Vocabulary::loadAltInputs() { uint32 maxSize = end - it; uint32 l = Common::strnlen(t._input, maxSize); if (l == maxSize) { - error("Alt input from %s appears truncated at %ld", resource->name().c_str(), it - resource->cbegin()); + error("Alt input from %s appears truncated at %d", resource->name().c_str(), it - resource->cbegin()); } t._inputLength = l; it += l + 1; @@ -308,7 +308,7 @@ bool Vocabulary::loadAltInputs() { maxSize = end - it; l = Common::strnlen(t._replacement, maxSize); if (l == maxSize) { - error("Alt input replacement from %s appears truncated at %ld", resource->name().c_str(), it - resource->cbegin()); + error("Alt input replacement from %s appears truncated at %d", resource->name().c_str(), it - resource->cbegin()); } it += l + 1; -- cgit v1.2.3