From 76aec0bf1590f71985b3e881e3983cff2d908cd0 Mon Sep 17 00:00:00 2001 From: vvaltman Date: Mon, 11 May 2015 12:37:58 +0300 Subject: [PATCH] fixed CE --- lua-tg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua-tg.c b/lua-tg.c index 2edd691..aeb0927 100644 --- a/lua-tg.c +++ b/lua-tg.c @@ -1722,7 +1722,7 @@ static int register_interface_from_lua (lua_State *L) { int i; for (i = 0; i < n - 4; i++) { - char *s = lua_tostring (L, -1); + const char *s = lua_tostring (L, -1); lua_pop (L, 1); if (!s || !strlen (s)) {