diff options
| author | Max Horn | 2011-05-26 08:22:46 +0200 |
|---|---|---|
| committer | Max Horn | 2011-05-26 08:22:46 +0200 |
| commit | a2f16d91552aa888ca3d6f8bbbf41aed3ce75874 (patch) | |
| tree | 50f13ba047fb87836d22189b2c4886d06f7fbbdd | |
| parent | 2068bc1527369ee4468f178b745e9722ef9f695c (diff) | |
| download | scummvm-rg350-a2f16d91552aa888ca3d6f8bbbf41aed3ce75874.tar.gz scummvm-rg350-a2f16d91552aa888ca3d6f8bbbf41aed3ce75874.tar.bz2 scummvm-rg350-a2f16d91552aa888ca3d6f8bbbf41aed3ce75874.zip | |
SWORD25: Const correctness
| -rw-r--r-- | engines/sword25/script/luascript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
