From c432c981df97f786c683435a4a06bd58fc9a7b18 Mon Sep 17 00:00:00 2001 From: planet36 Date: Tue, 13 Apr 2021 12:43:18 -0400 Subject: [PATCH] Make LEN macro consistent with other suckless repos Signed-off-by: drkhsh --- util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.h b/util.h index 7f1f26c..cf4b027 100644 --- a/util.h +++ b/util.h @@ -3,7 +3,7 @@ extern char buf[1024]; -#define LEN(x) (sizeof (x) / sizeof *(x)) +#define LEN(x) (sizeof(x) / sizeof((x)[0])) extern char *argv0;