diff options
author | Colin Snover | 2017-03-30 14:02:27 -0500 |
---|---|---|
committer | Colin Snover | 2017-03-30 14:23:41 -0500 |
commit | a233696212c1707be4c993de8c36228137475af1 (patch) | |
tree | 9ee46dc8e2dc68aec38dcbaadc1f6da2984c20e8 /engines/sci/parser | |
parent | 993d83fe4b65cc30d43ceb4de38c036889a6f4ae (diff) | |
download | scummvm-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/parser')
-rw-r--r-- | engines/sci/parser/vocabulary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |