fix warning
[openssl.git] / crypto / conf / conf_def.c
index f0b27687395f5b4ab38c3f8b491921d8b3dedbe6..ff55876b6eda82839ab3e0f5948b21712ddb411f 100644 (file)
@@ -145,7 +145,7 @@ static int def_init_default(CONF *conf)
                return 0;
 
        conf->meth = &default_method;
                return 0;
 
        conf->meth = &default_method;
-       conf->meth_data = CONF_type_default;
+       conf->meth_data = (void *)CONF_type_default;
        conf->data = NULL;
 
        return 1;
        conf->data = NULL;
 
        return 1;