Redo type-safety fix.
authorBen Laurie <ben@openssl.org>
Fri, 7 Sep 2001 11:43:30 +0000 (11:43 +0000)
committerBen Laurie <ben@openssl.org>
Fri, 7 Sep 2001 11:43:30 +0000 (11:43 +0000)
crypto/ex_data.c

index a135858c696e9d8c83fdf658d5f83015cc9a03b3..5b2e345c27b7b7e4f7f3997a9c89d806526cad7e 100644 (file)
@@ -279,9 +279,8 @@ static int ex_data_check(void)
 #define EX_DATA_CHECK(iffail) if(!ex_data && !ex_data_check()) {iffail}
 
 /* This "inner" callback is used by the callback function that follows it */
 #define EX_DATA_CHECK(iffail) if(!ex_data && !ex_data_check()) {iffail}
 
 /* This "inner" callback is used by the callback function that follows it */
-static void def_cleanup_util_cb(void *v)
+static void def_cleanup_util_cb(CRYPTO_EX_DATA_FUNCS *funcs)
        {
        {
-       CRYPTO_EX_DATA_FUNCS *funcs = (CRYPTO_EX_DATA_FUNCS *)v;
        OPENSSL_free(funcs);
        }
 
        OPENSSL_free(funcs);
        }