From 6457e97255f393e18d416c2ffee5a66c3da297ae Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 7 Jan 2011 16:20:15 +0000 Subject: [PATCH] Fix compile failure using sun studio compiler, cast to correct type. git-svn-id: file:///svn/unbound/trunk@2365 be551aaa-1e26-0410-a405-d3ace91eadb9 --- daemon/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/daemon.c b/daemon/daemon.c index 36b6caae5..9b48ca439 100644 --- a/daemon/daemon.c +++ b/daemon/daemon.c @@ -539,7 +539,7 @@ daemon_delete(struct daemon* daemon) #endif #if HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS && HAVE_DECL_SK_SSL_COMP_POP_FREE #ifndef S_SPLINT_S - sk_SSL_COMP_pop_free(comp_meth, (void*)CRYPTO_free); + sk_SSL_COMP_pop_free(comp_meth, (void(*)())CRYPTO_free); #endif #endif #ifdef HAVE_OPENSSL_CONFIG -- 2.47.2