git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18cd3dd
)
lib/ccan/asearch: fix example on 64 bit platforms.
author
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 5 Dec 2011 06:12:49 +0000
(16:42 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 5 Dec 2011 06:12:49 +0000
(16:42 +1030)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit
a8446c3ef94ae0d5f273656da12aa9a8b3abf658
)
lib/ccan/asearch/_info
patch
|
blob
|
history
diff --git
a/lib/ccan/asearch/_info
b/lib/ccan/asearch/_info
index 857475016fb778146025a01f92f9c0b1836c4249..4bfe40a465881af001f6e45061afb95fe42fce4b 100644
(file)
--- a/
lib/ccan/asearch/_info
+++ b/
lib/ccan/asearch/_info
@@
-39,7
+39,7
@@
* printf("Not found!\n");
* return 1;
* }
- * printf("%u\n",
p - &argv[2]
);
+ * printf("%u\n",
(int)(p - &argv[2])
);
* return 0;
* }
*/