mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
small corrections to avoid warnings.
This commit is contained in:
parent
367139c6d9
commit
3ec4f4eb86
3 changed files with 15 additions and 13 deletions
4
opcode.c
4
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 <setjmp.h>
|
||||
#include <stdlib.h>
|
||||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue