summaryrefslogtreecommitdiff
path: root/rts/sm
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2013-10-26 11:11:54 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2013-10-28 14:30:18 +1100
commit7cb10ba40e619a0a368571ea8c7a85c1dd34628b (patch)
tree0ad23b1f3560e02ba538ac025c12a83f258d16bd /rts/sm
parentf275522e74e79353adf9cf9b5cffc7409977c298 (diff)
downloadhaskell-7cb10ba40e619a0a368571ea8c7a85c1dd34628b.tar.gz
rts: Add casts to prevent compiler warnings in printfs.
Diffstat (limited to 'rts/sm')
-rw-r--r--rts/sm/Sanity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/Sanity.c b/rts/sm/Sanity.c
index 0d48ba2724..c653331164 100644
--- a/rts/sm/Sanity.c
+++ b/rts/sm/Sanity.c
@@ -917,7 +917,7 @@ memInventory (rtsBool show)
live_blocks + free_blocks, MB(live_blocks+free_blocks));
if (leak) {
debugBelch("\n in system : %5" FMT_Word " blocks (%" FMT_Word " MB)\n",
- mblocks_allocated * BLOCKS_PER_MBLOCK, mblocks_allocated);
+ (W_)(mblocks_allocated * BLOCKS_PER_MBLOCK), mblocks_allocated);
}
}