From 044877f838395fad08bd6dde545ec14924b57d72 Mon Sep 17 00:00:00 2001 From: Alexandre Erwin Ittner Date: Sat, 20 Nov 2010 10:41:47 -0200 Subject: [PATCH] Replace deprecated 'luaL_reg' by 'luaL_Reg' 'luaL_reg' was deprecated in Lua 5.1; Ensures that this version is free of deprecated constructions. --- luaiconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luaiconv.c b/luaiconv.c index e2e0697..cec54fe 100644 --- a/luaiconv.c +++ b/luaiconv.c @@ -200,7 +200,7 @@ static int Liconv_close(lua_State *L) { } -static const luaL_reg iconv_funcs[] = { +static const luaL_Reg iconv_funcs[] = { { "open", Liconv_open }, { "new", Liconv_open }, { "iconv", Liconv },