mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:01:41 +03:00
tidy-up: assortment of small fixes
- examples/headerapi: fix wrong cast. - curl_ngtcp2: delete stray character from error message. - rustls: fix inline variable declaration. - sendf: drop redundant `int` cast. - libtest/cli_ws_data: drop cast with mismatched signedness. Cherry-picked from #18343 Closes #18664
This commit is contained in:
parent
06d00e3879
commit
e5d9c871f0
5 changed files with 6 additions and 5 deletions
|
|
@ -69,7 +69,7 @@ int main(void)
|
|||
do {
|
||||
h = curl_easy_nextheader(curl, CURLH_HEADER, -1, prev);
|
||||
if(h)
|
||||
printf(" %s: %s (%u)\n", h->name, h->value, (int)h->amount);
|
||||
printf(" %s: %s (%u)\n", h->name, h->value, (unsigned int)h->amount);
|
||||
prev = h;
|
||||
} while(h);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue