From be24e496578d7c03bc2fd6239887266e82c8d6da Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 29 Jun 2016 06:09:52 +0930 Subject: [PATCH] cast: fix indentation in example. Signed-off-by: Rusty Russell --- ccan/cast/cast.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; * } */ -- 2.39.2