summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'trusty/storage/tests/main.cpp')
-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 @@
23 23
24#define TRUSTY_DEVICE_NAME "/dev/trusty-ipc-dev0" 24#define TRUSTY_DEVICE_NAME "/dev/trusty-ipc-dev0"
25 25
26#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) 26#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
27 27
28static inline bool is_32bit_aligned(size_t sz) 28static inline bool is_32bit_aligned(size_t sz)
29{ 29{