From cb529b713f4882ac65a074ae8d87faa41d19168e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 11 May 2018 23:40:58 +0200 Subject: checksrc: make sure sizeof() is used *with* parentheses ... and unify the source code to adhere. Closes #2563 --- lib/md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/md5.c') diff --git a/lib/md5.c b/lib/md5.c index 3096602b7..d372c6da9 100644 --- a/lib/md5.c +++ b/lib/md5.c @@ -527,7 +527,7 @@ MD5_context *Curl_MD5_init(const MD5_params *md5params) MD5_context *ctxt; /* Create MD5 context */ - ctxt = malloc(sizeof *ctxt); + ctxt = malloc(sizeof(*ctxt)); if(!ctxt) return ctxt; -- cgit v1.2.3