From a2f16d91552aa888ca3d6f8bbbf41aed3ce75874 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 26 May 2011 08:22:46 +0200 Subject: SWORD25: Const correctness --- engines/sword25/script/luascript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sword25/script/luascript.cpp') diff --git a/engines/sword25/script/luascript.cpp b/engines/sword25/script/luascript.cpp index 9c65c9948d..9d394309e6 100644 --- a/engines/sword25/script/luascript.cpp +++ b/engines/sword25/script/luascript.cpp @@ -177,7 +177,7 @@ bool LuaScriptEngine::executeFile(const Common::String &fileName) { } bool LuaScriptEngine::executeString(const Common::String &code) { - return executeBuffer((byte *)code.c_str(), code.size(), "???"); + return executeBuffer((const byte *)code.c_str(), code.size(), "???"); } namespace { -- cgit v1.2.3