fix warning
authorNils Larsch <nils@openssl.org>
Mon, 13 Feb 2006 08:45:53 +0000 (08:45 +0000)
committerNils Larsch <nils@openssl.org>
Mon, 13 Feb 2006 08:45:53 +0000 (08:45 +0000)
crypto/x509v3/v3_genn.c

index 4dc836175a9466e3a442cff15aaa2633ddb504bb..363f2d32d5f72efec67f96aa41121c8ea204061b 100644 (file)
@@ -102,8 +102,8 @@ IMPLEMENT_ASN1_FUNCTIONS(GENERAL_NAMES)
 
 GENERAL_NAME *GENERAL_NAME_dup(GENERAL_NAME *a)
        {
-       return (GENERAL_NAME *) ASN1_dup((int (*)()) i2d_GENERAL_NAME,
-                                        (char *(*)()) d2i_GENERAL_NAME,
+       return (GENERAL_NAME *) ASN1_dup((i2d_of_void *) i2d_GENERAL_NAME,
+                                        (d2i_of_void *) d2i_GENERAL_NAME,
                                         (char *) a);
        }