diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-12-05 16:42:49 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-12-05 16:42:49 +1030 |
commit | ab2c07b8f0dec6fd82884b7864a399201c3d2ce3 (patch) | |
tree | ed722f98ea6d41059233ab902d02ec93dea2f6ef /lib/ccan | |
parent | 18cd3dd2add0420d57118ccf58b28a48d9d68018 (diff) | |
download | samba-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/_info | 2 |
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; * } */ |