mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
use %u instead of %d for unsigned int arguments
This commit is contained in:
parent
d21ff4b72e
commit
49f8e9571c
@ -542,7 +542,7 @@ ATF_TC_BODY(countlabels, tc) {
|
||||
NULL, 0, NULL);
|
||||
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
|
||||
|
||||
printf("%s: expect %d labels\n",
|
||||
printf("%s: expect %u labels\n",
|
||||
testcases[i].namestr, testcases[i].expect);
|
||||
|
||||
ATF_REQUIRE_EQ(dns_name_countlabels(name),
|
||||
|
@ -1135,7 +1135,7 @@ test_purge(int sender, int type, int tag, int exp_purged) {
|
||||
/*
|
||||
* We're testing isc_task_purge.
|
||||
*/
|
||||
printf("purge events %p,%d,%p\n",
|
||||
printf("purge events %p,%u,%p\n",
|
||||
purge_sender, purge_type_first, purge_tag);
|
||||
purged = isc_task_purge(task, purge_sender,
|
||||
(isc_eventtype_t)purge_type_first,
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user