]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence compiler warnings.
authorMark Andrews <marka@isc.org>
Fri, 18 Mar 2005 05:55:36 +0000 (05:55 +0000)
committerMark Andrews <marka@isc.org>
Fri, 18 Mar 2005 05:55:36 +0000 (05:55 +0000)
lib/dns/rbtdb.c

index a08246e178eeba441906bfb11407f62f823b2a93..5797afb7a2eaf6c105724602a78fe3512e5324e6 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rbtdb.c,v 1.203 2005/03/16 00:55:17 marka Exp $ */
+/* $Id: rbtdb.c,v 1.204 2005/03/18 05:55:36 marka Exp $ */
 
 /*
  * Principal Author: Bob Halley
@@ -6005,8 +6005,8 @@ acache_callback(dns_acacheentry_t *entry, void **arg) {
 
        UNLOCK(nodelock);
 
-       dns_db_detachnode((dns_db_t *)rbtdb, (dns_dbnode_t **)&rbtnode);
-       dns_db_detach((dns_db_t **)&rbtdb);
+       dns_db_detachnode((dns_db_t *)rbtdb, (dns_dbnode_t **)(void*)&rbtnode);
+       dns_db_detach((dns_db_t **)(void*)&rbtdb);
 
        *arg = NULL;
 }