diff options
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 2.137 2015/03/30 16:05:23 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.138 2015/05/22 17:48:19 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 | */ |
@@ -570,7 +570,7 @@ static void resume (lua_State *L, void *ud) { | |||
570 | 570 | ||
571 | LUA_API int lua_resume (lua_State *L, lua_State *from, int nargs) { | 571 | LUA_API int lua_resume (lua_State *L, lua_State *from, int nargs) { |
572 | int status; | 572 | int status; |
573 | int oldnny = L->nny; /* save "number of non-yieldable" calls */ | 573 | unsigned short oldnny = L->nny; /* save "number of non-yieldable" calls */ |
574 | lua_lock(L); | 574 | lua_lock(L); |
575 | luai_userstateresume(L, nargs); | 575 | luai_userstateresume(L, nargs); |
576 | L->nCcalls = (from) ? from->nCcalls + 1 : 1; | 576 | L->nCcalls = (from) ? from->nCcalls + 1 : 1; |