diff options
Diffstat (limited to 'src/lj_gc.c')
-rw-r--r-- | src/lj_gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_gc.c b/src/lj_gc.c index bd31eabf..0f0ca82e 100644 --- a/src/lj_gc.c +++ b/src/lj_gc.c | |||
@@ -77,7 +77,7 @@ static void gc_mark(global_State *g, GCobj *o) | |||
77 | static void gc_mark_gcroot(global_State *g) | 77 | static void gc_mark_gcroot(global_State *g) |
78 | { | 78 | { |
79 | ptrdiff_t i; | 79 | ptrdiff_t i; |
80 | for (i = 0; i < GCROOT__MAX; i++) | 80 | for (i = 0; i < GCROOT_MAX; i++) |
81 | if (gcref(g->gcroot[i]) != NULL) | 81 | if (gcref(g->gcroot[i]) != NULL) |
82 | gc_markobj(g, gcref(g->gcroot[i])); | 82 | gc_markobj(g, gcref(g->gcroot[i])); |
83 | } | 83 | } |