* tests/test.c (check_heap_stats): Adjust printf format specifier
for max_heap_sz; cast max_heap_sz accordingly.
+2011-05-31 Ivan Maidanski <ivmai@mail.ru>
+
+ * tests/test.c (check_heap_stats): Adjust printf format specifier
+ for max_heap_sz; cast max_heap_sz accordingly.
+
2011-05-30 Ivan Maidanski <ivmai@mail.ru>
* doc/README.solaris2: Add note.
}
if (GC_get_heap_size() + GC_get_unmapped_bytes() > max_heap_sz) {
GC_printf("Unexpected heap growth - collector may be broken"
- " (heapsize: %lu, expected: %u)\n",
+ " (heapsize: %lu, expected: %lu)\n",
(unsigned long)(GC_get_heap_size() + GC_get_unmapped_bytes()),
- max_heap_sz);
+ (unsigned long)max_heap_sz);
FAIL;
}
# ifdef THREADS