summaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 0c727ed4..311f66d2 100644
--- a/gc.c
+++ b/gc.c
@@ -606,7 +606,7 @@ static int sweep_one(obj_t *block)
#if CONFIG_GEN_GC
block->t.gen = 1;
#endif
- block->t.type = convert(type_t, block->t.type & ~REACHABLE);
+ block->t.type &= convert(type_t, ~REACHABLE);
return 0;
}