modules: update documentation examples so they compile under ccanlint.
[ccan] / ccan / idtree / _info
index 058b32b48a2d49033b745c268a5ee0cf52036be5..c0db3632e2c62731b4aed090473c3ef21b6c7cee 100644 (file)
@@ -30,7 +30,8 @@
  *                            argv[i], idtree_add(idtree, argv[i], -1));
  *             }
  *             for (i = 0; i < argc; i++) {
- *                     printf("id %i -> '%s'\n", i, idtree_lookup(idtree, i));
+ *                     printf("id %i -> '%s'\n",
+ *                            i, (char *)idtree_lookup(idtree, i));
  *             }
  *             return 0;
  *     }