JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
correct LENGTH()
authorMatthias-Christian Ott <ott@enolink.de>
Mon, 2 Jun 2008 18:15:52 +0000 (20:15 +0200)
committerMatthias-Christian Ott <ott@enolink.de>
Mon, 2 Jun 2008 18:15:52 +0000 (20:15 +0200)
std.c

diff --git a/std.c b/std.c
index 5368f67..78e9237 100644 (file)
--- 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))