summaryrefslogtreecommitdiff
path: root/post/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'post/tests.c')
-rw-r--r--post/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/post/tests.c b/post/tests.c
index 5f59fbb..71437b6 100644
--- a/post/tests.c
+++ b/post/tests.c
@@ -305,4 +305,4 @@ struct post_test post_list[] =
#endif
};
-unsigned int post_list_size = sizeof (post_list) / sizeof (struct post_test);
+unsigned int post_list_size = ARRAY_SIZE(post_list);