From e424af32b7ccb6f3711c0c116754069b90707910 Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz Date: Sun, 22 Oct 2017 22:28:35 -0400 Subject: [PATCH] Fix definition of NELEM in the tests. --- tests/parse_flags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/parse_flags.c b/tests/parse_flags.c index 1af61ea..b1f8337 100644 --- a/tests/parse_flags.c +++ b/tests/parse_flags.c @@ -22,7 +22,7 @@ static struct { }; #ifndef NELEM -#define NELEM(x) (sizeof(x) / sizeof(&x[0])) +#define NELEM(x) (sizeof(x) / sizeof(x[0])) #endif int parse_flags(int argc, char **argv)