From 130832150c1313824868b154cccda3ace88fa950 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 21 Jun 2000 02:25:30 +0000 Subject: Fixes for Win32 build. This is mostly a work around for the old VC++ problem that it treats func() as func(void). Various prototypes had been added to 'compare' function pointers that triggered this. This could be fixed by removing the prototype, adding function pointer casts to every call or changing the passed function to use the expected arguments. I mostly did the latter. The mkdef.pl script was modified to remove the typesafe functions which no longer exist. Oh and some functions called OPENSSL_freeLibrary() were changed back to FreeLibrary(), wonder how that happened :-) --- crypto/asn1/a_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/asn1/a_set.c') diff --git a/crypto/asn1/a_set.c b/crypto/asn1/a_set.c index 8cde848689..1921f5eaa1 100644 --- a/crypto/asn1/a_set.c +++ b/crypto/asn1/a_set.c @@ -152,7 +152,7 @@ SetBlob } STACK *d2i_ASN1_SET(STACK **a, unsigned char **pp, long length, - char *(*func)(), void (*free_func)(), int ex_tag, int ex_class) + char *(*func)(), void (*free_func)(void *), int ex_tag, int ex_class) { ASN1_CTX c; STACK *ret=NULL; -- cgit v1.2.3