summaryrefslogtreecommitdiffstats
path: root/test/sanitytest.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-12-08 15:17:12 -0500
committerRich Salz <rsalz@openssl.org>2017-12-08 15:17:12 -0500
commita836f9fa951e33a5186e2421413de0b50ed2233a (patch)
tree15990a5d69da679ff48420e965abd4a5b3b98a03 /test/sanitytest.c
parent62f494408dc87a264ecb8e94b59dde42d52dfefd (diff)
Standardize syntax of sizeof(foo)
Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4876)
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 */