SWORD25: Const correctness

This commit is contained in:
Max Horn 2011-05-26 08:22:46 +02:00
parent 2068bc1527
commit a2f16d9155

View File

@ -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 {