summaryrefslogtreecommitdiff
path: root/lib/BLua.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/BLua.cc')
-rw-r--r--lib/BLua.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc
index 76cd443..b08223c 100644
--- a/lib/BLua.cc
+++ b/lib/BLua.cc
@@ -671,7 +671,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 {