aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-14 14:24:01 -0400
committerDavid Robillard <d@drobilla.net>2022-08-17 13:50:41 -0400
commit3a0833614c629c907ae3d1eb170de714f3492fe5 (patch)
tree324c67000a1f47ed83d3727dc6c8c7e1d68a8947 /src/jalv.c
parente09a2bccd90d3666f2dd748a5ab6d5f105dd358c (diff)
downloadjalv-3a0833614c629c907ae3d1eb170de714f3492fe5.tar.gz
jalv-3a0833614c629c907ae3d1eb170de714f3492fe5.tar.bz2
jalv-3a0833614c629c907ae3d1eb170de714f3492fe5.zip
Suppress new warnings in clang and clang-tidy 14
Diffstat (limited to 'src/jalv.c')
-rw-r--r--src/jalv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv.c b/src/jalv.c
index aa782b3..1e937f4 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -81,7 +81,7 @@
#endif
#ifndef ARRAY_SIZE
-# define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
+# define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
#endif
#ifndef MSG_BUFFER_SIZE