From: Rusty Russell Date: Tue, 4 Oct 2011 01:40:08 +0000 (+1030) Subject: short_types: fix example for 64 bit platforms X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=a6aa7d044cd8ebd32fa7a685de640a0dad28968a short_types: fix example for 64 bit platforms Use correct printf string. --- diff --git a/ccan/short_types/_info b/ccan/short_types/_info index 1fdc3a40..333d84ef 100644 --- a/ccan/short_types/_info +++ b/ccan/short_types/_info @@ -29,7 +29,7 @@ * unsigned int *posix_total, unsigned int *sht_total, * unsigned int *size_total) * { - * printf("\t%ssigned %s: POSIX %i%%, short %i%%\n", + * printf("\t%ssigned %s: POSIX %zu%%, short %zu%%\n", * sht[0] == 'u' ? "un" : "", * sht+1, * strlen(posix)*100 / size,