Add more parenthesis to the definition of ARRAY_LENGTH

This commit is contained in:
Nick Mathewson 2015-02-02 14:14:35 -05:00
parent 03563f4723
commit 5c807f30e4

View File

@ -565,7 +565,7 @@ STATIC int format_helper_exit_status(unsigned char child_state,
const char *libor_get_digests(void);
#define ARRAY_LENGTH(x) (sizeof(x)) / sizeof(x[0])
#define ARRAY_LENGTH(x) ((sizeof(x)) / sizeof(x[0]))
#endif