]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
a missing cast for isc_task_send()
authorTatuya JINMEI 神明達哉 <jinmei@isc.org>
Tue, 29 Jul 2008 18:35:53 +0000 (18:35 +0000)
committerTatuya JINMEI 神明達哉 <jinmei@isc.org>
Tue, 29 Jul 2008 18:35:53 +0000 (18:35 +0000)
lib/isc/timer.c

index 38c89bc7f9859ec7ae475b6c0ab11aa692ae5f24..d594307d953c6dc746f1a59aae0c52ee81d734af 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.c,v 1.73.18.7.10.2 2008/07/24 23:48:09 tbox Exp $ */
+/* $Id: timer.c,v 1.73.18.7.10.3 2008/07/29 18:35:53 jinmei Exp $ */
 
 /*! \file */
 
@@ -659,7 +659,8 @@ dispatch(isc_timermgr_t *manager, isc_time_t *now) {
 
                                if (event != NULL) {
                                        event->due = timer->due;
-                                       isc_task_send(timer->task, &event);
+                                       isc_task_send(timer->task,
+                                                     ISC_EVENT_PTR(&event));
                                } else
                                        UNEXPECTED_ERROR(__FILE__, __LINE__,
                                                 isc_msgcat_get(isc_msgcat,