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)