mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-04 23:12:04 -04:00
parent
6c93fb890d
commit
1dbd238c15
1 changed files with 2 additions and 1 deletions
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
#if HAVE_CMOCKA
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include <setjmp.h>
|
||||
|
|
@ -165,7 +166,7 @@ ticktock(isc_task_t *task, isc_event_t *event) {
|
|||
}
|
||||
|
||||
expected_event_type = ISC_TIMEREVENT_LIFE;
|
||||
if ((isc_timertype_t) event->ev_arg == isc_timertype_ticker) {
|
||||
if ((uintptr_t)event->ev_arg == isc_timertype_ticker) {
|
||||
expected_event_type = ISC_TIMEREVENT_TICK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue