aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-08-07 13:17:41 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-08-07 13:17:41 -0300
commit3135a6bbaba406fd9f1e97e0b9c8415e1ad32579 (patch)
treed03a797b5a3bad7b83013f4c4ae7162423622476 /lvm.c
parent95cbc402dc4f246d2eeff3b53afcd183b3a8ccb0 (diff)
downloadlua-3135a6bbaba406fd9f1e97e0b9c8415e1ad32579.tar.gz
lua-3135a6bbaba406fd9f1e97e0b9c8415e1ad32579.tar.bz2
lua-3135a6bbaba406fd9f1e97e0b9c8415e1ad32579.zip
luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,
not generic numbers)
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index 056e09e6..d1c04835 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.94 2009/07/01 20:31:25 roberto Exp roberto $ 2** $Id: lvm.c,v 2.95 2009/07/15 18:38:16 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*/
@@ -754,7 +754,7 @@ void luaV_execute (lua_State *L) {
754 luaH_resizearray(L, h, last); /* pre-alloc it at once */ 754 luaH_resizearray(L, h, last); /* pre-alloc it at once */
755 for (; n > 0; n--) { 755 for (; n > 0; n--) {
756 TValue *val = ra+n; 756 TValue *val = ra+n;
757 setobj2t(L, luaH_setnum(L, h, last--), val); 757 setobj2t(L, luaH_setint(L, h, last--), val);
758 luaC_barriert(L, h, val); 758 luaC_barriert(L, h, val);
759 } 759 }
760 L->top = ci->top; /* correct top (in case of previous open call) */ 760 L->top = ci->top; /* correct top (in case of previous open call) */