Skip to content

Commit

Permalink
RT4476: Fix some cast-alignment warnings
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Levitte <levitte@openssl.org>
  • Loading branch information
noloader authored and Rich Salz committed Mar 25, 2016
1 parent 7793e17 commit c828cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/openssl/lhash.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void lh_node_usage_stats_bio(const _LHASH *lh, BIO *out);
# define LHASH_OF(type) struct lhash_st_##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) * \
lh_##type##_new(unsigned long (*hfn)(const type *), \
int (*cfn)(const type *, const type *)) \
Expand Down

0 comments on commit c828cd7

Please sign in to comment.