From 3ec4f4eb86f1644c82d6a140b889de2c2a4f6d6a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 2 Oct 1995 14:03:33 -0300 Subject: small corrections to avoid warnings. --- opcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'opcode.c') diff --git a/opcode.c b/opcode.c index fe5c6dfc..d68db2ad 100644 --- a/opcode.c +++ b/opcode.c @@ -3,7 +3,7 @@ ** TecCGraf - PUC-Rio */ -char *rcs_opcode="$Id: opcode.c,v 3.37 1995/05/02 18:43:03 roberto Exp roberto $"; +char *rcs_opcode="$Id: opcode.c,v 3.38 1995/05/16 17:23:58 roberto Exp roberto $"; #include #include @@ -446,7 +446,7 @@ int lua_dostring (char *string) */ lua_Object lua_setfallback (char *name, lua_CFunction fallback) { - static Object func = {LUA_T_CFUNCTION, luaI_setfallback}; + static Object func = {LUA_T_CFUNCTION, {luaI_setfallback}}; adjustC(0); lua_pushstring(name); lua_pushcfunction(fallback); -- cgit v1.2.3-55-g6feb