aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gc.c b/gc.c
index 9cc371d7d0..e2a161cd7e 100644
--- a/gc.c
+++ b/gc.c
@@ -166,8 +166,8 @@ getrusage_time(void)
gc_time = getrusage_time() - gc_time;\
if (gc_time < 0) gc_time = 0;\
objspace->profile.record[count].gc_time = gc_time;\
- objspace->profile.record[count].is_marked = marked;\
- GC_PROF_SET_HEAP_INFO(objspace->profile.record[count]);\
+ objspace->profile.record[count].is_marked = !!(marked);\
+ GC_PROF_SET_HEAP_INFO(objspace->profile.record[count]);\
objspace->profile.count++;\
}\
} while(0)