X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fposix%2FSelect.c;h=0dbacef7a816a175351c35efea530c8fcddda861;hb=e70246a799b0038cf84874550283c52858231159;hp=e21ced03ab63d34b7539e2b2e03aec006ff43814;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/rts/posix/Select.c b/rts/posix/Select.c index e21ced0..0dbacef 100644 --- a/rts/posix/Select.c +++ b/rts/posix/Select.c @@ -65,7 +65,7 @@ wakeUpSleepingThreads(lnat ticks) sleeping_queue = tso->link; tso->why_blocked = NotBlocked; tso->link = END_TSO_QUEUE; - IF_DEBUG(scheduler,debugBelch("Waking up sleeping thread %d\n", tso->id)); + IF_DEBUG(scheduler,debugBelch("Waking up sleeping thread %lu\n", (unsigned long)tso->id)); // MainCapability: this code is !THREADED_RTS pushOnRunQueue(&MainCapability,tso); flag = rtsTrue; @@ -251,7 +251,7 @@ awaitEvent(rtsBool wait) } if (ready) { - IF_DEBUG(scheduler,debugBelch("Waking up blocked thread %d\n", tso->id)); + IF_DEBUG(scheduler,debugBelch("Waking up blocked thread %lu\n", (unsigned long)tso->id)); tso->why_blocked = NotBlocked; tso->link = END_TSO_QUEUE; pushOnRunQueue(&MainCapability,tso);