diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-30 11:55:04 +1000 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-30 11:55:04 +1000 |
commit | a1adc2a3533d0759a917dd9bd7ea5975101afdd1 (patch) | |
tree | b6ceafbf23b73de23912b2a89e5dd6fe6414b4b6 | |
parent | b772f4d9252df33303c142e5750c24ca211ccfc2 (diff) |
Fix 64-bit compile warning.
-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])); } |