diff options
-rw-r--r-- | ccan/alloc/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ccan/alloc/alloc.c b/ccan/alloc/alloc.c index c70b7fa7..5c851d82 100644 --- a/ccan/alloc/alloc.c +++ b/ccan/alloc/alloc.c @@ -1061,7 +1061,7 @@ void alloc_visualize(FILE *out, void *pool, unsigned long poolsize) if (meta[j / 8] & (1 << (j % 8))) total++; - printf(" %u: %u/%u (%u%% density)\n", + printf(" %u: %u/%zu (%zu%% density)\n", uc->size[j], total, SUBPAGE_METAOFF / uc->size[i], (total * 100) / (SUBPAGE_METAOFF / uc->size[i])); } |