aboutsummaryrefslogtreecommitdiff
path: root/crypto/x509v3/v3_genn.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-02-13 08:45:53 +0000
committerNils Larsch <nils@openssl.org>2006-02-13 08:45:53 +0000
commit95a0e8ab318789b91ed8beb416831b60fe77471c (patch)
treeb96911a560a252a9ff3b6d1ca775b46d2c47a82f /crypto/x509v3/v3_genn.c
parent0c9caf04deadc28da11578363b533670237cb918 (diff)
downloadopenssl-95a0e8ab318789b91ed8beb416831b60fe77471c.zip
openssl-95a0e8ab318789b91ed8beb416831b60fe77471c.tar.gz
openssl-95a0e8ab318789b91ed8beb416831b60fe77471c.tar.bz2
fix warning
Diffstat (limited to 'crypto/x509v3/v3_genn.c')
-rw-r--r--crypto/x509v3/v3_genn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509v3/v3_genn.c b/crypto/x509v3/v3_genn.c
index 4dc8361..363f2d3 100644
--- a/crypto/x509v3/v3_genn.c
+++ b/crypto/x509v3/v3_genn.c
@@ -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);
}