From: Matthias-Christian Ott <ott@enolink.de>
Date: Mon, 2 Jun 2008 18:15:52 +0000 (+0200)
Subject: correct LENGTH()
X-Git-Url: https://git.owens.tech/about.html/about.html/git?a=commitdiff_plain;h=c61b34e8e1883faba38f94b0c6775a47b1267e6f;p=st.git

correct LENGTH()
---

diff --git a/std.c b/std.c
index 5368f67..78e9237 100644
--- a/std.c
+++ b/std.c
@@ -13,7 +13,7 @@
 #include <string.h>
 #include <unistd.h>
 
-#define LENGTH(x)	(sizeof (x) / sizeof (x)[0])
+#define LENGTH(x)	(sizeof(x) / sizeof((x)[0]))
 #define MAX(a,b)	(((a) > (b)) ? (a) : (b))
 #define MIN(a,b)	(((a) < (b)) ? (a) : (b))