From da3516248cb1f71b8afe94ac769c87617a378842 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 15 Feb 2009 20:19:06 +0000 Subject: Fixed compilation (along with it const correctness). svn-id: r38287 --- engines/cine/script_fw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/cine/script_fw.cpp') diff --git a/engines/cine/script_fw.cpp b/engines/cine/script_fw.cpp index b4c4d72701..f7037db61c 100644 --- a/engines/cine/script_fw.cpp +++ b/engines/cine/script_fw.cpp @@ -49,7 +49,7 @@ ScriptVars globalVars(NUM_MAX_VAR + 1); uint16 compareVars(int16 a, int16 b); -Opcode *FWScript::_opcodeTable = 0; +const Opcode *FWScript::_opcodeTable = 0; unsigned int FWScript::_numOpcodes = 0; void FWScript::setupTable() { @@ -211,7 +211,7 @@ void FWScript::setupTable() { { &FWScript::o1_unloadMask5, "b" } }; - FWScript::_opcodeTable = (Opcode *)opcodeTable; + FWScript::_opcodeTable = (const Opcode *)opcodeTable; FWScript::_numOpcodes = ARRAYSIZE(opcodeTable); } -- cgit v1.2.3