diff options
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); } } } |