diff options
-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; |