summaryrefslogtreecommitdiff
path: root/rts/posix
diff options
context:
space:
mode:
authorsven.panne@aedion.de <unknown>2006-08-10 15:36:24 +0000
committersven.panne@aedion.de <unknown>2006-08-10 15:36:24 +0000
commitf9e1c2af8fdd112019a657e66b0cd685d8df66f6 (patch)
treee786b9c422ad2b41e56a6c53b8790c02eb381f8f /rts/posix
parent78bd1cdb548b43cf6892234006730c69ddaa2a9e (diff)
downloadhaskell-f9e1c2af8fdd112019a657e66b0cd685d8df66f6.tar.gz
Match format strings and arguments for printf-like functions
Diffstat (limited to 'rts/posix')
-rw-r--r--rts/posix/Select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/posix/Select.c b/rts/posix/Select.c
index e21ced03ab..0dbacef7a8 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);