Commit fd91e61f authored by Bernd Edlinger's avatar Bernd Edlinger Committed by Rich Salz
Browse files

Add parentheses around macro argument of OSSL_NELEM.



Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3039)

(cherry picked from commit 26dc47f3)
parent 6fd603ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -521,7 +521,7 @@ struct servent *getservbyname(const char *name, const char *proto);
# endif
/* end vxworks */

#define OSSL_NELEM(x)    (sizeof(x)/sizeof(x[0]))
#define OSSL_NELEM(x)    (sizeof(x)/sizeof((x)[0]))

#ifdef  __cplusplus
}