aboutsummaryrefslogtreecommitdiff
path: root/opcode.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-10-02 14:03:33 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-10-02 14:03:33 -0300
commit3ec4f4eb86f1644c82d6a140b889de2c2a4f6d6a (patch)
tree68bdbb5cc932620817cf504b5b2e4ab327577c17 /opcode.c
parent367139c6d952272cff1f114e7323299478681ffd (diff)
downloadlua-3ec4f4eb86f1644c82d6a140b889de2c2a4f6d6a.tar.gz
lua-3ec4f4eb86f1644c82d6a140b889de2c2a4f6d6a.tar.bz2
lua-3ec4f4eb86f1644c82d6a140b889de2c2a4f6d6a.zip
small corrections to avoid warnings.
Diffstat (limited to 'opcode.c')
-rw-r--r--opcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcode.c b/opcode.c
index fe5c6dfc..d68db2ad 100644
--- a/opcode.c
+++ b/opcode.c
@@ -3,7 +3,7 @@
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4*/ 4*/
5 5
6char *rcs_opcode="$Id: opcode.c,v 3.37 1995/05/02 18:43:03 roberto Exp roberto $"; 6char *rcs_opcode="$Id: opcode.c,v 3.38 1995/05/16 17:23:58 roberto Exp roberto $";
7 7
8#include <setjmp.h> 8#include <setjmp.h>
9#include <stdlib.h> 9#include <stdlib.h>
@@ -446,7 +446,7 @@ int lua_dostring (char *string)
446*/ 446*/
447lua_Object lua_setfallback (char *name, lua_CFunction fallback) 447lua_Object lua_setfallback (char *name, lua_CFunction fallback)
448{ 448{
449 static Object func = {LUA_T_CFUNCTION, luaI_setfallback}; 449 static Object func = {LUA_T_CFUNCTION, {luaI_setfallback}};
450 adjustC(0); 450 adjustC(0);
451 lua_pushstring(name); 451 lua_pushstring(name);
452 lua_pushcfunction(fallback); 452 lua_pushcfunction(fallback);