diff options
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 2.334 2018/01/14 17:27:50 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.335 2018/01/27 16:56:33 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1488,7 +1488,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) { | |||
1488 | if (b != 0) | 1488 | if (b != 0) |
1489 | L->top = ra + b; | 1489 | L->top = ra + b; |
1490 | else /* previous instruction set top */ | 1490 | else /* previous instruction set top */ |
1491 | b = L->top - ra; | 1491 | b = cast_int(L->top - ra); |
1492 | lua_assert(GETARG_C(i) - 1 == LUA_MULTRET); | 1492 | lua_assert(GETARG_C(i) - 1 == LUA_MULTRET); |
1493 | if (!ttisfunction(vra)) { /* not a function? */ | 1493 | if (!ttisfunction(vra)) { /* not a function? */ |
1494 | ProtectNT(luaD_tryfuncTM(L, ra)); /* try '__call' metamethod */ | 1494 | ProtectNT(luaD_tryfuncTM(L, ra)); /* try '__call' metamethod */ |