aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-20 15:15:33 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-20 15:15:33 -0300
commit099442c41f2cec6122690e6c8f2e11327613e6f6 (patch)
tree73599b274ea4a9b96906ff8160eeb4a524702a8e /lgc.c
parent27600fe87a6fafdfd4ddddeb390591fe749b480f (diff)
downloadlua-099442c41f2cec6122690e6c8f2e11327613e6f6.tar.gz
lua-099442c41f2cec6122690e6c8f2e11327613e6f6.tar.bz2
lua-099442c41f2cec6122690e6c8f2e11327613e6f6.zip
better separation between basic types
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lgc.c b/lgc.c
index 77927940..d500549a 100644
--- a/lgc.c
+++ b/lgc.c
@@ -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
276static void checktab (lua_State *L, stringtable *tb) { 276static 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