Support assembler for Mingw32.
[oweals/openssl.git] / crypto / x509 / by_dir.c
index a81b1900d1e4ad1060b7d21b9b04327faca6d8ae..14d12c56bd709e47198ecb8b73547624c7f08a3a 100644 (file)
@@ -218,9 +218,9 @@ static int add_cert_dir(BY_DIR *ctx, const char *dir, int type)
                                memcpy(ip,ctx->dirs_type,(ctx->num_dirs_alloced-10)*
                                        sizeof(int));
                                if (ctx->dirs != NULL)
-                                       Free((char *)ctx->dirs);
+                                       Free(ctx->dirs);
                                if (ctx->dirs_type != NULL)
-                                       Free((char *)ctx->dirs_type);
+                                       Free(ctx->dirs_type);
                                ctx->dirs=pp;
                                ctx->dirs_type=ip;
                                }