Type-safe OBJ_bsearch_ex.
diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h
index 9ed5fc2..58597c4 100644
--- a/crypto/stack/safestack.h
+++ b/crypto/stack/safestack.h
@@ -69,7 +69,7 @@
((void (*)(void *)) ((1 ? p : (void (*)(type))0)))
#define CHECKED_SK_CMP_FUNC(type, p) \
- ((int (*)(const void * const *, const void * const *)) \
+ ((int (*)(const void *, const void *)) \
((1 ? p : (int (*)(const type * const *, const type * const *))0)))
#define STACK_OF(type) struct stack_st_##type