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.108 2001/06/26 13:20:45 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 1.109 2001/06/28 14:57:17 roberto Exp $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -305,7 +305,7 @@ static void collectstrings (lua_State *L, int all) { | |||
305 | } | 305 | } |
306 | } | 306 | } |
307 | } | 307 | } |
308 | if (G(L)->strt.nuse < (ls_nstr)(G(L)->strt.size/4) && | 308 | if (G(L)->strt.nuse < cast(ls_nstr, G(L)->strt.size/4) && |
309 | G(L)->strt.size > MINPOWER2) | 309 | G(L)->strt.size > MINPOWER2) |
310 | luaS_resize(L, G(L)->strt.size/2); /* table is too big */ | 310 | luaS_resize(L, G(L)->strt.size/2); /* table is too big */ |
311 | } | 311 | } |