Ensure gc_thread->wakeup is of type StgWord8.
authorAustin Seipp <aseipp@pobox.com>
Fri, 21 Jun 2013 05:12:20 +0000 (00:12 -0500)
committerAustin Seipp <aseipp@pobox.com>
Fri, 21 Jun 2013 05:19:33 +0000 (00:19 -0500)
commitfe6db466ec0ae56d33d0fdecc4694d63fed61fa8
treebb9dcceab41f594d4302386807b377f69d97f918
parenteeeec4f2c34d7bc7ca2882550a181bf80368d32d
Ensure gc_thread->wakeup is of type StgWord8.

rtsBool is defined to only have two inhabitants, which are true (1) and
false (0)

But the wakeup flag is set to 4 possible values, outside the range of
rtsBool. This leads Clang to warn about tautological comparisons.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
rts/sm/GCThread.h