]> 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:34:29 +0000 (18:34 +0000)
committerTatuya JINMEI 神明達哉 <jinmei@isc.org>
Tue, 29 Jul 2008 18:34:29 +0000 (18:34 +0000)
lib/isc/timer.c

index cfa8706c6b30e2f1acd9b7453dc50ad2e547fdc5..990f2943cd6cf42f356ce39ae748b4700c94f16f 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.c,v 1.64.12.17.4.2 2008/07/24 23:47:44 tbox Exp $ */
+/* $Id: timer.c,v 1.64.12.17.4.3 2008/07/29 18:34:29 jinmei Exp $ */
 
 #include <config.h>
 
@@ -660,7 +660,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,