diff options
author | sven.panne@aedion.de <unknown> | 2006-08-10 15:36:24 +0000 |
---|---|---|
committer | sven.panne@aedion.de <unknown> | 2006-08-10 15:36:24 +0000 |
commit | f9e1c2af8fdd112019a657e66b0cd685d8df66f6 (patch) | |
tree | e786b9c422ad2b41e56a6c53b8790c02eb381f8f /rts/Stable.c | |
parent | 78bd1cdb548b43cf6892234006730c69ddaa2a9e (diff) | |
download | haskell-f9e1c2af8fdd112019a657e66b0cd685d8df66f6.tar.gz |
Match format strings and arguments for printf-like functions
Diffstat (limited to 'rts/Stable.c')
-rw-r--r-- | rts/Stable.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/Stable.c b/rts/Stable.c index 5a1b92b321..2c4157b431 100644 --- a/rts/Stable.c +++ b/rts/Stable.c @@ -412,15 +412,15 @@ gcStablePtrTable( void ) if (p->sn_obj == NULL) { // StableName object is dead freeStableName(p); - debugTrace(DEBUG_stable, "GC'd Stable name %ld", - p - stable_ptr_table); + debugTrace(DEBUG_stable, "GC'd Stable name %ld", + (long)(p - stable_ptr_table)); continue; } else { p->addr = (StgPtr)isAlive((StgClosure *)p->addr); debugTrace(DEBUG_stable, "stable name %ld still alive at %p, ref %ld\n", - p - stable_ptr_table, p->addr, p->ref); + (long)(p - stable_ptr_table), p->addr, p->ref); } } } |