summaryrefslogtreecommitdiff
path: root/allchblk.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2009-03-01 01:20:14 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:44 +0200
commitee6104254324ccb8728cca74b866c5b26d481cfc (patch)
treeaa419b7c1a748105785feca4a00dbee3c2eaadef /allchblk.c
parent6aed8bc60c99a11ab94c8dca3b7ca15926f10c4b (diff)
2009-02-28 Hans Boehm <Hans.Boehm@hp.com> (Mostly Ivan Maidansky)
* allchblk.c, backgraph.c, dbg_mlc.c, dyn_load.c, finalize.c, include/private/gc_pmark.h, malloc.c, mark.c, os_dep.c, pthread_stop_world.c, pthread_support.c, reclaim.c, thread_local_alloc.c. * misc.s: Refine comment. 2009-02-28 Hans Boehm <Hans.Boehm@hp.com> * os_dep.c: Define GC_GWW_BUF_LEN more intelligently. Add FIXME comment.
Diffstat (limited to 'allchblk.c')
-rw-r--r--allchblk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/allchblk.c b/allchblk.c
index 82822ed..694e9de 100644
--- a/allchblk.c
+++ b/allchblk.c
@@ -117,7 +117,7 @@ void GC_print_hblkfreelist(void)
(unsigned long)i);
# else
if (0 != h) GC_printf("Free list %lu (Total size %lu):\n",
- i, (unsigned long)GC_free_bytes[i]);
+ (long)i, (unsigned long)GC_free_bytes[i]);
# endif
while (h != 0) {
hhdr = HDR(h);
@@ -183,7 +183,7 @@ void GC_dump_regions(void)
hhdr = HDR(p);
GC_printf("\t%p ", p);
if (IS_FORWARDING_ADDR_OR_NIL(hhdr)) {
- GC_printf("Missing header!!(%d)\n", hhdr);
+ GC_printf("Missing header!!(%p)\n", hhdr);
p += HBLKSIZE;
continue;
}