Commit a8446c3e authored by Rusty Russell's avatar Rusty Russell

asearch: fix example on 64 bit platforms.

parent cae56e4d
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
* printf("Not found!\n"); * printf("Not found!\n");
* return 1; * return 1;
* } * }
* printf("%u\n", p - &argv[2]); * printf("%u\n", (int)(p - &argv[2]));
* return 0; * return 0;
* } * }
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment