mirror of
https://github.com/curl/curl.git
synced 2026-07-30 17:38:04 +03:00
infof/failf calls: fix format specifiers
Update a few format specifiers to match what is being printed. Closes #6241
This commit is contained in:
parent
020aa0131b
commit
920f49a20b
12 changed files with 20 additions and 20 deletions
|
|
@ -49,7 +49,7 @@ int test(char *URL)
|
|||
goto test_cleanup;
|
||||
}
|
||||
|
||||
printf("Protocol: %x\n", protocol);
|
||||
printf("Protocol: %lx\n", protocol);
|
||||
|
||||
curl_easy_cleanup(curl);
|
||||
curl_global_cleanup();
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ static CURLSTScode hstswrite(CURL *easy, struct curl_hstsentry *e,
|
|||
{
|
||||
(void)easy;
|
||||
(void)userp;
|
||||
printf("[%u/%u] %s %s\n", i->index, i->total, e->name, e->expire);
|
||||
printf("[%zu/%zu] %s %s\n", i->index, i->total, e->name, e->expire);
|
||||
return CURLSTS_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ UNITTEST_START
|
|||
showsts(e, chost);
|
||||
}
|
||||
|
||||
printf("Number of entries: %d\n", h->list.size);
|
||||
printf("Number of entries: %zu\n", h->list.size);
|
||||
|
||||
/* verify that it is exists for 7 seconds */
|
||||
chost = "expire.example";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue