aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
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 f3ad12e7..cc984992 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.c,v 1.49 2000/05/10 16:33:20 roberto Exp roberto $ 2** $Id: lgc.c,v 1.50 2000/05/11 18:57:19 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*/
@@ -193,7 +193,7 @@ static void collectstringtab (lua_State *L, int limit, stringtable *tb) {
193 } 193 }
194 } 194 }
195 } 195 }
196 if (tb->nuse < (tb->size/4) && tb->size > 10) 196 if (tb->nuse < (lint32)(tb->size/4) && tb->size > 10)
197 luaS_resize(L, tb, tb->size/2); /* table is too big */ 197 luaS_resize(L, tb, tb->size/2); /* table is too big */
198} 198}
199 199