projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7793e17
)
RT4476: Fix some cast-alignment warnings
author
Jeffrey Walton
<noloader@gmail.com>
Fri, 25 Mar 2016 13:06:47 +0000
(09:06 -0400)
committer
Rich Salz
<rsalz@openssl.org>
Fri, 25 Mar 2016 19:43:54 +0000
(15:43 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
include/openssl/lhash.h
patch
|
blob
|
history
diff --git
a/include/openssl/lhash.h
b/include/openssl/lhash.h
index 2edd738a8b550c822eb63dce80d226c698c22538..e10c5221bdb1a6a8ba93fa497bce0e971f163543 100644
(file)
--- a/
include/openssl/lhash.h
+++ b/
include/openssl/lhash.h
@@
-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 *)) \