X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fshort_types%2F_info;h=333d84ef230cf4885b8c7e2e873e16aa95d73226;hb=127c7534fc4aaa9499c552fdd3e4e9e56c16ca40;hp=e4f3d42ca0eed7d5bc886505e1b9b337cc3fe8b3;hpb=7f63d84eb712c54c57c3d4e9a92ffefe2f1b2ade;p=ccan diff --git a/ccan/short_types/_info b/ccan/short_types/_info index e4f3d42c..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, @@ -65,7 +65,7 @@ * return 0; * } * - * License: LGPL (2 or any later version) + * License: Public domain * Author: Rusty Russell */ int main(int argc, char *argv[])