diff options
author | Mathias Berchtold <mb@smartftp.com> | 2016-01-13 04:11:38 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-01-13 03:44:56 +0000 |
commit | 917c343ef8495ccb32cfc2fe7e42c57914e40061 (patch) | |
tree | 8decbe2616ce02e15122c74b8ad79e7784e6bac4 /include | |
parent | 03f887ca1213744e2da3ec50f46d9fe3bc269510 (diff) | |
download | openssl-917c343ef8495ccb32cfc2fe7e42c57914e40061.tar.gz |
Fix missing casts for c++
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/lhash.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/openssl/lhash.h b/include/openssl/lhash.h index b83fc6e6f1..f4ea37b8a1 100644 --- a/include/openssl/lhash.h +++ b/include/openssl/lhash.h @@ -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) \ { \ |