summaryrefslogtreecommitdiff
path: root/lib/ccan
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-12-05 16:42:49 +1030
committerRusty Russell <rusty@rustcorp.com.au>2011-12-05 16:42:49 +1030
commitab2c07b8f0dec6fd82884b7864a399201c3d2ce3 (patch)
treeed722f98ea6d41059233ab902d02ec93dea2f6ef /lib/ccan
parent18cd3dd2add0420d57118ccf58b28a48d9d68018 (diff)
downloadsamba-ab2c07b8f0dec6fd82884b7864a399201c3d2ce3.tar.gz
samba-ab2c07b8f0dec6fd82884b7864a399201c3d2ce3.tar.bz2
samba-ab2c07b8f0dec6fd82884b7864a399201c3d2ce3.zip
lib/ccan/asearch: fix example on 64 bit platforms.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit a8446c3ef94ae0d5f273656da12aa9a8b3abf658)
Diffstat (limited to 'lib/ccan')
-rw-r--r--lib/ccan/asearch/_info2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ccan/asearch/_info b/lib/ccan/asearch/_info
index 857475016f..4bfe40a465 100644
--- 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;
* }
*/