From 9e198c4bd078135af25d466d01cbac2f7c6b17f7 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 16 Jan 2010 13:32:14 +0000 Subject: Fix type-checking/casting issue. --- crypto/stack/safestack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/stack') 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) -- cgit v1.2.3