summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorplanet36 <planet36@users.noreply.github.com>2021-04-13 12:43:18 -0400
committerRafael Marçalo <raroma09@gmail.com>2023-01-03 15:02:35 +0000
commit5755d838d13f587e549a4aecbb24940f3a407c46 (patch)
treeedd8f6ecdb0cc4ddbed920e0993555525c4b503b
parent9a18d072ba2ad2e2b95659fe9dd367abc0fe463a (diff)
Make LEN macro consistent with other suckless repos
Signed-off-by: drkhsh <me@drkhsh.at>
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
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;