summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 175a078c6b..ea774bd9bd 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -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