projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c809104
)
Fix for 64-bit (thanks to Tim T)
author
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 13 Mar 2009 02:37:20 +0000
(13:07 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 13 Mar 2009 02:37:20 +0000
(13:07 +1030)
ccan/read_write_all/test/run-write_all.c
patch
|
blob
|
history
diff --git
a/ccan/read_write_all/test/run-write_all.c
b/ccan/read_write_all/test/run-write_all.c
index 379ff9232fbcb669ce382d0578b14e9ce9adfff8..ab21cd31575f72c56d0ae7df658f5d04acdf7fdc 100644
(file)
--- a/
ccan/read_write_all/test/run-write_all.c
+++ b/
ccan/read_write_all/test/run-write_all.c
@@
-46,7
+46,7
@@
int main(int argc, char *argv[])
if (!read_all(p2c[0], buffer+1, sizeof(buffer)-1))
exit(3);
if (memchr(buffer, 0, sizeof(buffer))) {
- fprintf(stderr, "buffer has 0 at offset %i\n",
+ fprintf(stderr, "buffer has 0 at offset %
t
i\n",
memchr(buffer, 0, sizeof(buffer)) - (void *)buffer);
exit(4);
}