diff options
Diffstat (limited to 'engines/scumm/script_v6.cpp')
-rw-r--r-- | engines/scumm/script_v6.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/script_v6.cpp b/engines/scumm/script_v6.cpp index 5e6976fa8b..08aa7037a8 100644 --- a/engines/scumm/script_v6.cpp +++ b/engines/scumm/script_v6.cpp @@ -612,7 +612,7 @@ void ScummEngine_v6::o6_pushWordVar() { } void ScummEngine_v6::o6_invalid() { - error("Invalid opcode '%x' at %lx", _opcode, _scriptPointer - _scriptOrgPointer); + error("Invalid opcode '%x' at %lx", _opcode, (long)(_scriptPointer - _scriptOrgPointer)); } void ScummEngine_v6::o6_byteArrayRead() { |