Fix missing casts for c++
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Stephen Henson <steve@openssl.org>
This commit is contained in:
parent
03f887ca12
commit
917c343ef8
1 changed files with 3 additions and 3 deletions
|
@ -199,15 +199,15 @@ void lh_node_usage_stats_bio(const _LHASH *lh, BIO *out);
|
|||
} \
|
||||
static ossl_inline type *lh_##type##_insert(LHASH_OF(type) *lh, type *d) \
|
||||
{ \
|
||||
return lh_insert((_LHASH *)lh, d); \
|
||||
return (type *)lh_insert((_LHASH *)lh, d); \
|
||||
} \
|
||||
static ossl_inline type *lh_##type##_delete(LHASH_OF(type) *lh, const type *d) \
|
||||
{ \
|
||||
return lh_delete((_LHASH *)lh, d); \
|
||||
return (type *)lh_delete((_LHASH *)lh, d); \
|
||||
} \
|
||||
static ossl_inline type *lh_##type##_retrieve(LHASH_OF(type) *lh, const type *d) \
|
||||
{ \
|
||||
return lh_retrieve((_LHASH *)lh, d); \
|
||||
return (type *)lh_retrieve((_LHASH *)lh, d); \
|
||||
} \
|
||||
static ossl_inline int lh_##type##_error(LHASH_OF(type) *lh) \
|
||||
{ \
|
||||
|
|
Loading…
Reference in a new issue