]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence compiler warning
authorMark Andrews <marka@isc.org>
Fri, 22 Aug 2008 05:57:53 +0000 (05:57 +0000)
committerMark Andrews <marka@isc.org>
Fri, 22 Aug 2008 05:57:53 +0000 (05:57 +0000)
lib/isc/timer.c

index 7e81d8ff1897640436607fe008469311a31bbcc3..ca487cde35935190aea02fa1ecc2e40344bae9d3 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.c,v 1.83 2008/06/23 23:47:11 tbox Exp $ */
+/* $Id: timer.c,v 1.84 2008/08/22 05:57:53 marka Exp $ */
 
 /*! \file */
 
@@ -660,7 +660,7 @@ dispatch(isc_timermgr_t *manager, isc_time_t *now) {
                                if (event != NULL) {
                                        event->due = timer->due;
                                        isc_task_send(timer->task,
-                                                     (isc_event_t **)&event);
+                                                     ISC_EVENT_PTR(&event));
                                } else
                                        UNEXPECTED_ERROR(__FILE__, __LINE__,
                                                 isc_msgcat_get(isc_msgcat,