aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 3d148e09..63b66f92 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.280 2018/01/10 12:02:35 roberto Exp roberto $ 2** $Id: lapi.c,v 2.281 2018/01/28 15:13:26 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -993,7 +993,7 @@ LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc,
993 ci->u.c.k = k; /* save continuation */ 993 ci->u.c.k = k; /* save continuation */
994 ci->u.c.ctx = ctx; /* save context */ 994 ci->u.c.ctx = ctx; /* save context */
995 /* save information for error recovery */ 995 /* save information for error recovery */
996 ci->u2.funcidx = savestack(L, c.func); 996 ci->u2.funcidx = cast_int(savestack(L, c.func));
997 ci->u.c.old_errfunc = L->errfunc; 997 ci->u.c.old_errfunc = L->errfunc;
998 L->errfunc = func; 998 L->errfunc = func;
999 setoah(ci->callstatus, L->allowhook); /* save value of 'allowhook' */ 999 setoah(ci->callstatus, L->allowhook); /* save value of 'allowhook' */