From: Rusty Russell Date: Tue, 28 Jun 2016 20:39:52 +0000 (+0930) Subject: cast: fix indentation in example. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=be24e496578d7c03bc2fd6239887266e82c8d6da cast: fix indentation in example. Signed-off-by: Rusty Russell --- diff --git a/ccan/cast/cast.h b/ccan/cast/cast.h index 1f3a7aac..cd384c46 100644 --- a/ccan/cast/cast.h +++ b/ccan/cast/cast.h @@ -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; * } */