diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-20 15:15:33 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-20 15:15:33 -0300 |
commit | 099442c41f2cec6122690e6c8f2e11327613e6f6 (patch) | |
tree | 73599b274ea4a9b96906ff8160eeb4a524702a8e /lgc.c | |
parent | 27600fe87a6fafdfd4ddddeb390591fe749b480f (diff) | |
download | lua-099442c41f2cec6122690e6c8f2e11327613e6f6.tar.gz lua-099442c41f2cec6122690e6c8f2e11327613e6f6.tar.bz2 lua-099442c41f2cec6122690e6c8f2e11327613e6f6.zip |
better separation between basic types
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 | ||