diff options
author | Willem Jan Palenstijn | 2017-02-07 21:45:17 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2017-02-07 21:45:17 +0100 |
commit | 2f4f13091899ee450629a6ac9b430d2913d86758 (patch) | |
tree | 2bb4379dcd00aa3dc78f1675b050a87902ca5535 | |
parent | c1edd6166907a332dca0f4037f934e56e0ab61f0 (diff) | |
download | scummvm-rg350-2f4f13091899ee450629a6ac9b430d2913d86758.tar.gz scummvm-rg350-2f4f13091899ee450629a6ac9b430d2913d86758.tar.bz2 scummvm-rg350-2f4f13091899ee450629a6ac9b430d2913d86758.zip |
SCI: Fix warnings
-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 6b90cd85e2..ea8722aefd 100644 --- a/engines/sci/parser/vocabulary.cpp +++ b/engines/sci/parser/vocabulary.cpp @@ -299,7 +299,7 @@ bool Vocabulary::loadAltInputs() { uint32 maxSize = data_end - data; uint32 l = Common::strnlen(data, maxSize); if (l == maxSize) { - error("Alt input from %d appears truncated at %ld", resource->getNumber(), (byte *)data - resource->data); + error("Alt input from %d appears truncated at %ld", resource->getNumber(), (const byte *)data - resource->data); } t._inputLength = l; data += l + 1; @@ -308,7 +308,7 @@ bool Vocabulary::loadAltInputs() { maxSize = data_end - data; l = Common::strnlen(data, maxSize); if (l == maxSize) { - error("Alt input replacement from %d appears truncated at %ld", resource->getNumber(), (byte *)data - resource->data); + error("Alt input replacement from %d appears truncated at %ld", resource->getNumber(), (const byte *)data - resource->data); } data += l + 1; |