hhdr = HDR(h);
sz = hhdr -> hb_sz;
total_free += sz;
- GC_printf("\t%p size %lu %s black listed\n", h, (unsigned long)sz,
+ GC_printf("\t%p size %lu %s black listed\n",
+ (void *)h, (unsigned long)sz,
GC_is_black_listed(h, HBLKSIZE) != 0 ? "start" :
GC_is_black_listed(h, hhdr -> hb_sz) != 0 ? "partially" :
"not");
for (p = start; p < end;) {
hhdr = HDR(p);
if (IS_FORWARDING_ADDR_OR_NIL(hhdr)) {
- GC_printf("\t%p Missing header!!(%p)\n", p, hhdr);
+ GC_printf("\t%p Missing header!!(%p)\n", p, (void *)hhdr);
p += HBLKSIZE;
continue;
}
/* Check for duplicate deallocation in the easy case */
if (HBLK_IS_FREE(hhdr)) {
if (GC_print_stats)
- GC_log_printf("Duplicate large block deallocation of %p\n", hbp);
+ GC_log_printf("Duplicate large block deallocation of %p\n",
+ (void *)hbp);
ABORT("Duplicate large block deallocation");
}
for (n = 1; flh; n++) {
struct hblk *block = HBLKPTR(flh);
if (block != lastBlock) {
- GC_printf("\nIn heap block at %p:\n\t", block);
+ GC_printf("\nIn heap block at %p:\n\t", (void *)block);
lastBlock = block;
}
GC_printf("%d: %p;", n, flh);