diff -r 87a4de7c7457 -r c6c81629f54e cgi-bin/tek/os/posix.c --- a/cgi-bin/tek/os/posix.c Fri Oct 05 01:41:59 2007 +0200 +++ b/cgi-bin/tek/os/posix.c Fri May 02 14:42:18 2008 +0200 @@ -419,7 +419,7 @@ static void addclass(lua_State *L, const char *libname, const char *classname, - luaL_Reg *functions, luaL_Reg *methods, void *userdata) + const luaL_Reg *functions, const luaL_Reg *methods, void *userdata) { luaL_newmetatable(L, classname); /* classtab */ lua_pushliteral(L, "__index"); /* classtab, "__index" */ @@ -448,7 +448,6 @@ int luaopen_tek_os_posix(lua_State *L) { - addclass(L, "tek.os.posix", DIRCLASSNAME, - (luaL_Reg *) lib, (luaL_Reg *) methods, NULL); + addclass(L, "tek.os.posix", DIRCLASSNAME, lib, methods, NULL); return 0; }