Commit a1adc2a3 authored by Rusty Russell's avatar Rusty Russell

Fix 64-bit compile warning.

parent b772f4d9
......@@ -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]));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment