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.115 2010/04/19 17:58:46 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.116 2010/05/04 17:25:19 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 | */ |
| @@ -751,7 +751,7 @@ void luaV_execute (lua_State *L) { | |||
| 751 | h = hvalue(ra); | 751 | h = hvalue(ra); |
| 752 | last = ((c-1)*LFIELDS_PER_FLUSH) + n; | 752 | last = ((c-1)*LFIELDS_PER_FLUSH) + n; |
| 753 | if (last > h->sizearray) /* needs more space? */ | 753 | if (last > h->sizearray) /* needs more space? */ |
| 754 | luaH_resizearray(L, h, last); /* pre-alloc it at once */ | 754 | luaH_resizearray(L, h, last); /* pre-allocate 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_setint(L, h, last--), val); | 757 | setobj2t(L, luaH_setint(L, h, last--), val); |
