diff options
Diffstat (limited to 'libs/liblua/src/ltable.c')
-rw-r--r-- | libs/liblua/src/ltable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/liblua/src/ltable.c b/libs/liblua/src/ltable.c index d7eb69a2e1..5a0d066faa 100644 --- a/libs/liblua/src/ltable.c +++ b/libs/liblua/src/ltable.c @@ -583,7 +583,7 @@ Table *luaH_new (lua_State *L) { GCObject *o = luaC_newobj(L, LUA_VTABLE, sizeof(Table)); Table *t = gco2t(o); t->metatable = NULL; - t->flags = cast_byte(~0); + t->flags = cast_byte(maskflags); /* table has no metamethod fields */ t->array = NULL; t->alimit = 0; setnodevector(L, t, 0); |