diff options
Diffstat (limited to 'lib/BLua.cc')
-rw-r--r-- | lib/BLua.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc index 5ff970e..9bd7828 100644 --- a/lib/BLua.cc +++ b/lib/BLua.cc @@ -693,7 +693,7 @@ void Lua::push(bool b) { lua_pushboolean(L, b); } -void Lua::push(char * s, int size) { +void Lua::push(const char * s, int size) { if (size < 0) { lua_pushstring(L, s); } else { |