summaryrefslogtreecommitdiffstats
path: root/test/sanitytest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/sanitytest.c')
-rw-r--r--test/sanitytest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sanitytest.c b/test/sanitytest.c
index 9c968f46d9..f1228f1494 100644
--- a/test/sanitytest.c
+++ b/test/sanitytest.c
@@ -44,7 +44,7 @@ int main()
/* Is NULL equivalent to all-bytes-zero? */
p = NULL;
- memset(bytes, 0, sizeof bytes);
+ memset(bytes, 0, sizeof(bytes));
TEST(memcmp(&p, bytes, sizeof(bytes)) == 0);
/* Enum size */