summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
* }
*/