Enhance consistency by using BIO_flush() instead of fflush().
[openssl.git] / crypto / objects / o_names.c
index 08a7323..d654eb2 100644 (file)
@@ -61,7 +61,7 @@ int OBJ_NAME_new_index(unsigned long (*hash_func)(), int (*cmp_func)(),
                MemCheck_off();
                name_funcs = Malloc(sizeof(NAME_FUNCS));
                name_funcs->hash_func = lh_strhash;
-               name_funcs->cmp_func = strcmp;
+               name_funcs->cmp_func = (int (*)())strcmp;
                name_funcs->free_func = 0; /* NULL is often declared to
                                            * ((void *)0), which according
                                            * to Compaq C is not really