summaryrefslogtreecommitdiff
path: root/src/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lvm.c')
-rw-r--r--src/lvm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lvm.c b/src/lvm.c
index 51f14292..c6c706db 100644
--- a/src/lvm.c
+++ b/src/lvm.c
@@ -1,5 +1,5 @@
/*
-** $Id: lvm.c,v 2.222 2014/07/30 14:42:44 roberto Exp $
+** $Id: lvm.c,v 2.224 2014/10/17 16:28:21 roberto Exp $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -1033,13 +1033,13 @@ void luaV_execute (lua_State *L) {
else { /* try making all values floats */
lua_Number ninit; lua_Number nlimit; lua_Number nstep;
if (!tonumber(plimit, &nlimit))
- luaG_runerror(L, LUA_QL("for") " limit must be a number");
+ luaG_runerror(L, "'for' limit must be a number");
setfltvalue(plimit, nlimit);
if (!tonumber(pstep, &nstep))
- luaG_runerror(L, LUA_QL("for") " step must be a number");
+ luaG_runerror(L, "'for' step must be a number");
setfltvalue(pstep, nstep);
if (!tonumber(init, &ninit))
- luaG_runerror(L, LUA_QL("for") " initial value must be a number");
+ luaG_runerror(L, "'for' initial value must be a number");
setfltvalue(init, luai_numsub(L, ninit, nstep));
}
ci->u.l.savedpc += GETARG_sBx(i);
@@ -1067,7 +1067,7 @@ void luaV_execute (lua_State *L) {
vmcase(OP_SETLIST,
int n = GETARG_B(i);
int c = GETARG_C(i);
- int last;
+ unsigned int last;
Table *h;
if (n == 0) n = cast_int(L->top - ra) - 1;
if (c == 0) {