From f42cc90d2d51b1121aa2ed44530013f1df09fec6 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 21 Dec 2001 15:31:35 -0200 Subject: some warnings --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index 9485a527..12d46e02 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 1.93 2001/12/11 22:48:44 roberto Exp roberto $ +** $Id: ltable.c,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -275,7 +275,7 @@ Table *luaH_new (lua_State *L, int narray, int lnhash) { G(L)->roottable = t; t->mark = t; t->weakmode = 0; - t->flags = ~0; + t->flags = cast(unsigned short, ~0); /* temporary values (kept only if some malloc fails) */ t->array = NULL; t->sizearray = 0; -- cgit v1.2.3-55-g6feb