* alloc.c (GC_print_heap_sects): Replace "/HBLKSIZE" with divHBLKSZ.
* blacklst.c (total_stack_black_listed): Likewise.
}
GC_printf("Section %d from %p to %p %lu/%lu blacklisted\n",
i, start, start + len,
- (unsigned long)nbl, (unsigned long)(len/HBLKSIZE));
+ (unsigned long)nbl, (unsigned long)divHBLKSZ(len));
}
}
#endif
for (i = 0; i < GC_n_heap_sects; i++) {
struct hblk * start = (struct hblk *) GC_heap_sects[i].hs_start;
- struct hblk * endp1 = start + GC_heap_sects[i].hs_bytes/HBLKSIZE;
+ struct hblk * endp1 = start + divHBLKSZ(GC_heap_sects[i].hs_bytes);
total += GC_number_stack_black_listed(start, endp1);
}