Commit 37e3f3ff authored by thoughtpolice's avatar thoughtpolice

Ensure gc_type is StgWord8.

Again, the range of gc_type is actually 1-3, which is technically
outside the range of rtsBool.
Signed-off-by: thoughtpolice's avatarAustin Seipp <aseipp@pobox.com>
parent fe6db466
......@@ -1437,7 +1437,7 @@ scheduleDoGC (Capability **pcap, Task *task USED_IF_THREADS,
rtsBool heap_census;
nat collect_gen;
#ifdef THREADED_RTS
rtsBool gc_type;
StgWord8 gc_type;
nat i, sync;
StgTSO *tso;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment