From: Tatuya JINMEI 神明達哉 Date: Tue, 29 Jul 2008 18:35:53 +0000 (+0000) Subject: a missing cast for isc_task_send() X-Git-Tag: v9.4.2-P2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=702217e3c7f60180181bb325627f69590328c2b6;p=thirdparty%2Fbind9.git a missing cast for isc_task_send() --- diff --git a/lib/isc/timer.c b/lib/isc/timer.c index 38c89bc7f98..d594307d953 100644 --- a/lib/isc/timer.c +++ b/lib/isc/timer.c @@ -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,