diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index a08246e178..5797afb7a2 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -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; }