Type mismatch detected by DEC C compiler. void* != void**
authorRichard Levitte <levitte@openssl.org>
Wed, 20 Apr 2005 12:53:50 +0000 (12:53 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 20 Apr 2005 12:53:50 +0000 (12:53 +0000)
crypto/stack/safestack.h

index 3167e3ec6ea426cc7eea1ae847c550e55aee297c..3b2680584ba1bae3a37c6fa9712796f0bfd61ebc 100644 (file)
@@ -201,7 +201,7 @@ STACK_OF(type) \
 #define        SKM_ASN1_seq_pack(type, st, i2d_func, buf, len) \
        ASN1_seq_pack(st, i2d_func, buf, len)
 #define        SKM_ASN1_seq_unpack(type, buf, len, d2i_func, free_func) \
-       ASN1_seq_unpack(buf,len,(char *(*)(void *,const unsigned char **,long))d2i_func, (void(*)(void *))free_func)
+       ASN1_seq_unpack(buf,len,(char *(*)(void **,const unsigned char **,long))d2i_func, (void(*)(void *))free_func)
 
 #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \
        ((STACK *)PKCS12_decrypt_d2i(algor,(char *(*)())d2i_func, (void(*)(void *))free_func,pass,passlen,oct,seq))