summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
Diffstat (limited to 'rts')
-rw-r--r--rts/sm/GC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/GC.c b/rts/sm/GC.c
index 4ddbcfdafd..0f9a9eaa84 100644
--- a/rts/sm/GC.c
+++ b/rts/sm/GC.c
@@ -1462,7 +1462,7 @@ wakeup_gc_threads (uint32_t me USED_IF_THREADS,
if (n_gc_threads == 1) return;
#if defined(DEBUG)
- StgInt num_idle = 0;
+ StgWord num_idle = 0;
for(i=0; i < n_gc_threads; ++i) {
ASSERT(!(i==me && idle_cap[i]));
if (idle_cap[i]) { ++num_idle;}