fix warning

This commit is contained in:
Nils Larsch 2006-02-13 08:45:53 +00:00
parent 0c9caf04de
commit 95a0e8ab31

View 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);
}