diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-06-21 02:25:30 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-06-21 02:25:30 +0000 |
commit | 130832150c1313824868b154cccda3ace88fa950 (patch) | |
tree | f2b0eac7c3740a8b85f52210b42dc5dc9352557b /crypto/stack | |
parent | 7ef8206859f9a52f48e817c023c744fe00e82c5d (diff) | |
download | openssl-new-130832150c1313824868b154cccda3ace88fa950.tar.gz |
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 :-)
Diffstat (limited to 'crypto/stack')
-rw-r--r-- | crypto/stack/safestack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h index 137b286ce4..20342c6e6b 100644 --- a/crypto/stack/safestack.h +++ b/crypto/stack/safestack.h @@ -189,7 +189,7 @@ STACK_OF(type) \ sk_sort(st) #define SKM_ASN1_SET_OF_d2i(type, st, pp, length, d2i_func, free_func, ex_tag, ex_class) \ - d2i_ASN1_SET(st,pp,length, (char *(*)())d2i_func, (void (*)())free_func, ex_tag,ex_class) + d2i_ASN1_SET(st,pp,length, (char *(*)())d2i_func, (void (*)(void *))free_func, ex_tag,ex_class) #define SKM_ASN1_SET_OF_i2d(type, st, pp, i2d_func, ex_tag, ex_class, is_set) \ i2d_ASN1_SET(st,pp,i2d_func,ex_tag,ex_class,is_set) |