summaryrefslogtreecommitdiffstats
path: root/trusty
diff options
context:
space:
mode:
Diffstat (limited to 'trusty')
-rw-r--r--trusty/storage/tests/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/trusty/storage/tests/main.cpp b/trusty/storage/tests/main.cpp
index a771b877d..1fd6f8ddc 100644
--- a/trusty/storage/tests/main.cpp
+++ b/trusty/storage/tests/main.cpp
@@ -23,7 +23,7 @@
#define TRUSTY_DEVICE_NAME "/dev/trusty-ipc-dev0"
-#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
+#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
static inline bool is_32bit_aligned(size_t sz)
{