aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltable.c b/ltable.c
index d7eb69a2..5a0d066f 100644
--- a/ltable.c
+++ b/ltable.c
@@ -583,7 +583,7 @@ Table *luaH_new (lua_State *L) {
583 GCObject *o = luaC_newobj(L, LUA_VTABLE, sizeof(Table)); 583 GCObject *o = luaC_newobj(L, LUA_VTABLE, sizeof(Table));
584 Table *t = gco2t(o); 584 Table *t = gco2t(o);
585 t->metatable = NULL; 585 t->metatable = NULL;
586 t->flags = cast_byte(~0); 586 t->flags = cast_byte(maskflags); /* table has no metamethod fields */
587 t->array = NULL; 587 t->array = NULL;
588 t->alimit = 0; 588 t->alimit = 0;
589 setnodevector(L, t, 0); 589 setnodevector(L, t, 0);