diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-12-21 15:31:35 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-12-21 15:31:35 -0200 |
| commit | f42cc90d2d51b1121aa2ed44530013f1df09fec6 (patch) | |
| tree | aa229e5af86f2dbcbf7122c01354020b85be64f8 /ltable.c | |
| parent | 9d2e454d6f42f86faf645a4a24f66023846ea9ab (diff) | |
| download | lua-f42cc90d2d51b1121aa2ed44530013f1df09fec6.tar.gz lua-f42cc90d2d51b1121aa2ed44530013f1df09fec6.tar.bz2 lua-f42cc90d2d51b1121aa2ed44530013f1df09fec6.zip | |
some warnings
Diffstat (limited to 'ltable.c')
| -rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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; |
