aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lvm.c b/lvm.c
index 33da5609..1c564a71 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1865,7 +1865,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
1865 pc++; 1865 pc++;
1866 } 1866 }
1867 /* when 'n' is known, table should have proper size */ 1867 /* when 'n' is known, table should have proper size */
1868 if (last > luaH_realasize(h)) { /* needs more space? */ 1868 if (last > h->asize) { /* needs more space? */
1869 /* fixed-size sets should have space preallocated */ 1869 /* fixed-size sets should have space preallocated */
1870 lua_assert(GETARG_vB(i) == 0); 1870 lua_assert(GETARG_vB(i) == 0);
1871 luaH_resizearray(L, h, last); /* preallocate it at once */ 1871 luaH_resizearray(L, h, last); /* preallocate it at once */