aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltable.c b/ltable.c
index 9485a527..12d46e02 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.c,v 1.93 2001/12/11 22:48:44 roberto Exp roberto $ 2** $Id: ltable.c,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $
3** Lua tables (hash) 3** Lua tables (hash)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -275,7 +275,7 @@ Table *luaH_new (lua_State *L, int narray, int lnhash) {
275 G(L)->roottable = t; 275 G(L)->roottable = t;
276 t->mark = t; 276 t->mark = t;
277 t->weakmode = 0; 277 t->weakmode = 0;
278 t->flags = ~0; 278 t->flags = cast(unsigned short, ~0);
279 /* temporary values (kept only if some malloc fails) */ 279 /* temporary values (kept only if some malloc fails) */
280 t->array = NULL; 280 t->array = NULL;
281 t->sizearray = 0; 281 t->sizearray = 0;