diff options
Diffstat (limited to 'lgc.c')
-rw-r--r-- | lgc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.c,v 1.87 2001/02/02 16:32:00 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 1.88 2001/02/07 18:13:49 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -274,7 +274,7 @@ static void collecttable (lua_State *L) { | |||
274 | 274 | ||
275 | 275 | ||
276 | static void checktab (lua_State *L, stringtable *tb) { | 276 | static void checktab (lua_State *L, stringtable *tb) { |
277 | if (tb->nuse < (luint32)(tb->size/4) && tb->size > MINPOWER2) | 277 | if (tb->nuse < (ls_nstr)(tb->size/4) && tb->size > MINPOWER2) |
278 | luaS_resize(L, tb, tb->size/2); /* table is too big */ | 278 | luaS_resize(L, tb, tb->size/2); /* table is too big */ |
279 | } | 279 | } |
280 | 280 | ||