commit c432c981df97f786c683435a4a06bd58fc9a7b18
Author: planet36 <[email protected]>
AuthorDate: Tue Apr 13 12:43:18 2021 -0400
Commit: drkhsh <[email protected]>
CommitDate: Mon Dec 19 02:44:21 2022 +0100
Make LEN macro consistent with other suckless repos
Signed-off-by: drkhsh <[email protected]>
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;