summaryrefslogtreecommitdiff
path: root/malloc.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 /malloc.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 'malloc.c')
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index 3329760..7d214af 100644
--- a/malloc.c
+++ b/malloc.c
@@ -401,7 +401,7 @@ GC_API void GC_CALL GC_free(void * p)
if (p == 0) return;
/* Required by ANSI. It's not my fault ... */
# ifdef LOG_ALLOCS
- GC_err_printf("GC_free(%p): %d\n", p, GC_gc_no);
+ GC_err_printf("GC_free(%p): %lu\n", p, (unsigned long)GC_gc_no);
# endif
h = HBLKPTR(p);
hhdr = HDR(h);