diff --git a/lib/isc/tests/timer_test.c b/lib/isc/tests/timer_test.c index 079345ef42..92f5b82489 100644 --- a/lib/isc/tests/timer_test.c +++ b/lib/isc/tests/timer_test.c @@ -158,7 +158,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; }