]> git.ozlabs.org Git - ccan/blobdiff - ccan/cast/cast.h
cast: fix indentation in example.
[ccan] / ccan / cast / cast.h
index 1f3a7aac1e48640f37868c0564e3851e203113e6..cd384c4636d8e5a51fa2ba55f97ff162b5dff84a 100644 (file)
@@ -38,8 +38,8 @@
  *     {
  *             size_t i;
  *             for (i = 0; i < strlen(haystack); i++)
- *             if (memcmp("needle", haystack+i, strlen("needle")) == 0)
- *                     return cast_const(char *, haystack+i);
+ *                     if (memcmp("needle", haystack+i, strlen("needle")) == 0)
+ *                             return cast_const(char *, haystack+i);
  *             return NULL;
  *     }
  */