summaryrefslogtreecommitdiff
path: root/crypto/stack/safestack.h
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2010-01-16 13:32:14 +0000
committerBen Laurie <ben@openssl.org>2010-01-16 13:32:14 +0000
commit9e198c4bd078135af25d466d01cbac2f7c6b17f7 (patch)
tree2f13ee2b37247bc5b7a6e9cb7100f3519d68a498 /crypto/stack/safestack.h
parent7eceffbfefe561bfba2edbdc60c041d236af9c85 (diff)
downloadopenssl-new-9e198c4bd078135af25d466d01cbac2f7c6b17f7.tar.gz
Fix type-checking/casting issue.
Diffstat (limited to 'crypto/stack/safestack.h')
-rw-r--r--crypto/stack/safestack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h
index 0583d27002..7744198c4e 100644
--- a/crypto/stack/safestack.h
+++ b/crypto/stack/safestack.h
@@ -186,7 +186,7 @@ DECLARE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
ex_tag, ex_class)
#define SKM_ASN1_SET_OF_i2d(type, st, pp, i2d_func, ex_tag, ex_class, is_set) \
- i2d_ASN1_SET(CHECKED_STACK_OF(type, st), pp, \
+ i2d_ASN1_SET((STACK_OF(OPENSSL_BLOCK) *)CHECKED_STACK_OF(type, st), pp, \
CHECKED_I2D_OF(type, i2d_func), \
ex_tag, ex_class, is_set)