aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index 15bec173..6ab57f8e 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 2.187 2018/01/28 12:08:04 roberto Exp roberto $ 2** $Id: ldo.c,v 2.188 2018/01/28 13:39:52 roberto Exp roberto $
3** Stack and Call structure of Lua 3** Stack and Call structure of Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -673,7 +673,7 @@ LUA_API int lua_resume (lua_State *L, lua_State *from, int nargs,
673 else lua_assert(status == L->status); /* normal end or yield */ 673 else lua_assert(status == L->status); /* normal end or yield */
674 } 674 }
675 *nresults = (status == LUA_YIELD) ? L->ci->u2.nyield 675 *nresults = (status == LUA_YIELD) ? L->ci->u2.nyield
676 : L->top - (L->ci->func + 1); 676 : cast_int(L->top - (L->ci->func + 1));
677 L->nny = oldnny; /* restore 'nny' */ 677 L->nny = oldnny; /* restore 'nny' */
678 L->nCcalls--; 678 L->nCcalls--;
679 // lua_assert(L->nCcalls == ((from) ? from->nCcalls : 0)); 679 // lua_assert(L->nCcalls == ((from) ? from->nCcalls : 0));