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

index 395c718ca21c0d0193c51cc72987b4ab8637e82d..75508563ca1dfdc4704cf26444a11c98b4b7c2ca 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.c,v 1.64.12.19 2008/06/25 23:45:37 tbox Exp $ */
+/* $Id: timer.c,v 1.64.12.20 2008/08/22 05:59:24 marka Exp $ */
 
 #include <config.h>
 
@@ -661,7 +661,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,