projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9f56cd6
)
fix a non-portable printf format
author
Simon Marlow
<marlowsd@gmail.com>
Tue, 30 Mar 2010 13:44:37 +0000
(13:44 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Tue, 30 Mar 2010 13:44:37 +0000
(13:44 +0000)
rts/RtsUtils.c
patch
|
blob
|
history
diff --git
a/rts/RtsUtils.c
b/rts/RtsUtils.c
index
51c1250
..
9021909
100644
(file)
--- a/
rts/RtsUtils.c
+++ b/
rts/RtsUtils.c
@@
-138,8
+138,8
@@
static void addAllocation(void *addr, size_t len) {
/* This doesn't actually help as we haven't looked at the flags
* at the time that it matters (while running constructors) */
IF_DEBUG(sanity,
/* This doesn't actually help as we haven't looked at the flags
* at the time that it matters (while running constructors) */
IF_DEBUG(sanity,
- debugBelch("Ignoring allocation %p %zd as allocs is NULL\n",
- addr, len);)
+ debugBelch("Ignoring allocation %p %d as allocs is NULL\n",
+ addr, (int)len);)
}
}
}
}