aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lapi.c b/lapi.c
index 98d23665..4f4e3021 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1199,7 +1199,7 @@ LUA_API int lua_gc (lua_State *L, int what, ...) {
1199 } 1199 }
1200 case LUA_GCSTEP: { 1200 case LUA_GCSTEP: {
1201 lu_byte oldstp = g->gcstp; 1201 lu_byte oldstp = g->gcstp;
1202 l_obj n = va_arg(argp, int); 1202 l_obj n = cast(l_obj, va_arg(argp, size_t));
1203 int work = 0; /* true if GC did some work */ 1203 int work = 0; /* true if GC did some work */
1204 g->gcstp = 0; /* allow GC to run (other bits must be zero here) */ 1204 g->gcstp = 0; /* allow GC to run (other bits must be zero here) */
1205 if (n <= 0) 1205 if (n <= 0)