]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fix compile failure using sun studio compiler, cast to correct type.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 7 Jan 2011 16:20:15 +0000 (16:20 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 7 Jan 2011 16:20:15 +0000 (16:20 +0000)
git-svn-id: file:///svn/unbound/trunk@2365 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/daemon.c

index 36b6caae52b5e026e2de067ce7cae99337c1edba..9b48ca43967ea75db8f57b87cbf01a910b58036b 100644 (file)
@@ -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