use %u instead of %d for unsigned int arguments

This commit is contained in:
Mark Andrews
2018-04-18 14:00:17 +10:00
committed by Ondřej Surý
parent d21ff4b72e
commit 49f8e9571c
3 changed files with 4 additions and 4 deletions

View File

@@ -138,8 +138,8 @@ ticktock(isc_task_t *task, isc_event_t *event) {
}
if (event->ev_type != expected_event_type) {
printf("expected event type %d, got %d\n",
expected_event_type, (int) event->ev_type);
printf("expected event type %u, got %u\n",
expected_event_type, event->ev_type);
}
result = isc_time_now(&now);