projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf1b26d
)
short_types: fix example for 64 bit platforms
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 4 Oct 2011 01:40:08 +0000
(12:10 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 4 Oct 2011 01:40:08 +0000
(12:10 +1030)
Use correct printf string.
ccan/short_types/_info
patch
|
blob
|
history
diff --git
a/ccan/short_types/_info
b/ccan/short_types/_info
index 1fdc3a40cf11d521fabb8881903cf81c874d0372..333d84ef230cf4885b8c7e2e873e16aa95d73226 100644
(file)
--- 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,