summaryrefslogtreecommitdiffstats
path: root/crypto/stack/safestack.h
diff options
context:
space:
mode:
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)