Commit a6aa7d04 authored by Rusty Russell's avatar Rusty Russell

short_types: fix example for 64 bit platforms

Use correct printf string.
parent cf1b26db
......@@ -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,
......
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