RT4476: Fix some cast-alignment warnings
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
committed by
Rich Salz
parent
7793e17440
commit
c828cd7cd0
@@ -180,7 +180,7 @@ void lh_node_usage_stats_bio(const _LHASH *lh, BIO *out);
|
|||||||
# define LHASH_OF(type) struct lhash_st_##type
|
# define LHASH_OF(type) struct lhash_st_##type
|
||||||
|
|
||||||
# define DEFINE_LHASH_OF(type) \
|
# define DEFINE_LHASH_OF(type) \
|
||||||
LHASH_OF(type) { int dummy; }; \
|
LHASH_OF(type) { union { void* d1; unsigned long d2; int d3; }; }; \
|
||||||
static ossl_inline LHASH_OF(type) * \
|
static ossl_inline LHASH_OF(type) * \
|
||||||
lh_##type##_new(unsigned long (*hfn)(const type *), \
|
lh_##type##_new(unsigned long (*hfn)(const type *), \
|
||||||
int (*cfn)(const type *, const type *)) \
|
int (*cfn)(const type *, const type *)) \
|
||||||
|
|||||||
Reference in New Issue
Block a user