From: Richard Levitte Date: Wed, 20 Apr 2005 12:53:50 +0000 (+0000) Subject: Type mismatch detected by DEC C compiler. void* != void** X-Git-Tag: OpenSSL_0_9_8-beta1~13^2~172 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=49f386578e374b8b1941f500459b0369d92d8615;p=oweals%2Fopenssl.git Type mismatch detected by DEC C compiler. void* != void** --- diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h index 3167e3ec6e..3b2680584b 100644 --- a/crypto/stack/safestack.h +++ b/crypto/stack/safestack.h @@ -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))