X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Fsanitytest.c;h=da74e7eca1ac668303cb0fd1163ae2646db488cb;hp=5954f7e50776cb2f5a5b82603b48138a9b1dd228;hb=2c9def25b1948f5f231b1acc15c060d9c2264816;hpb=3a63c0edab842af3e84ef1cad2b4eb701eece3e1 diff --git a/test/sanitytest.c b/test/sanitytest.c index 5954f7e507..da74e7eca1 100644 --- a/test/sanitytest.c +++ b/test/sanitytest.c @@ -18,7 +18,7 @@ static int test_sanity_null_zero(void) /* Is NULL equivalent to all-bytes-zero? */ p = NULL; - memset(bytes, 0, sizeof bytes); + memset(bytes, 0, sizeof(bytes)); return TEST_mem_eq(&p, sizeof(p), bytes, sizeof(bytes)); }