projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add comment for the invariant that DataAlt is never a newtype
[ghc-hetmet.git]
/
rts
/
BlockAlloc.c
diff --git
a/rts/BlockAlloc.c
b/rts/BlockAlloc.c
index
5e0e321
..
d2f08ee
100644
(file)
--- a/
rts/BlockAlloc.c
+++ b/
rts/BlockAlloc.c
@@
-365,8
+365,8
@@
checkFreeListSanity(void)
for (bd = free_list; bd != NULL; bd = bd->link) {
IF_DEBUG(block_alloc,
for (bd = free_list; bd != NULL; bd = bd->link) {
IF_DEBUG(block_alloc,
- debugBelch("group at 0x%p, length %d blocks\n",
- bd->start, bd->blocks));
+ debugBelch("group at 0x%p, length %ld blocks\n",
+ bd->start, (long)bd->blocks));
ASSERT(bd->blocks > 0);
checkWellFormedGroup(bd);
if (bd->link != NULL) {
ASSERT(bd->blocks > 0);
checkWellFormedGroup(bd);
if (bd->link != NULL) {