]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/pkcs7/pk7_mime.c
Seek out and destroy another evil cast.
[thirdparty/openssl.git] / crypto / pkcs7 / pk7_mime.c
index 54d5f422ad7d1482ae46c219246b25dbc5e22fc3..71468468d85860bfe8f6fb40118b71147e211c7a 100644 (file)
@@ -643,14 +643,14 @@ static void mime_hdr_free(MIME_HEADER *hdr)
        if(hdr->name) Free(hdr->name);
        if(hdr->value) Free(hdr->value);
        if(hdr->params) sk_pop_free(hdr->params, mime_param_free);
-       Free((char *)hdr);
+       Free(hdr);
 }
 
 static void mime_param_free(MIME_PARAM *param)
 {
        if(param->param_name) Free(param->param_name);
        if(param->param_value) Free(param->param_value);
-       Free((char *)param);
+       Free(param);
 }
 
 /* Check for a multipart boundary. Returns: