summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index c4d64686..e51e7f13 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.244 2015/06/02 19:11:24 roberto Exp roberto $ 2** $Id: lvm.c,v 2.245 2015/06/09 15:53:35 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*/
@@ -1125,7 +1125,7 @@ void luaV_execute (lua_State *L) {
1125 vmcase(OP_RETURN) { 1125 vmcase(OP_RETURN) {
1126 int b = GETARG_B(i); 1126 int b = GETARG_B(i);
1127 if (cl->p->sizep > 0) luaF_close(L, base); 1127 if (cl->p->sizep > 0) luaF_close(L, base);
1128 b = luaD_poscall(L, ra, (b != 0 ? b - 1 : L->top - ra)); 1128 b = luaD_poscall(L, ra, (b != 0 ? b - 1 : cast_int(L->top - ra)));
1129 if (!(ci->callstatus & CIST_REENTRY)) /* 'ci' still the called one */ 1129 if (!(ci->callstatus & CIST_REENTRY)) /* 'ci' still the called one */
1130 return; /* external invocation: return */ 1130 return; /* external invocation: return */
1131 else { /* invocation via reentry: continue execution */ 1131 else { /* invocation via reentry: continue execution */