mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
some warnings
This commit is contained in:
parent
9d2e454d6f
commit
f42cc90d2d
4 changed files with 5 additions and 6 deletions
4
ltable.c
4
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue