mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:53:34 +03:00
build: fix -Wformat-signedness by adjusting printf masks
- sync printf masks with the passed value. - fix a couple of casts. Cherry-picked from #20848 Closes #21335
This commit is contained in:
parent
54cc65595d
commit
548c16a824
56 changed files with 127 additions and 127 deletions
|
|
@ -1452,8 +1452,8 @@ static CURLcode imap_state_fetch_resp(struct Curl_easy *data,
|
|||
if(result)
|
||||
return result;
|
||||
|
||||
infof(data, "Written %zu bytes, %" FMT_OFF_TU
|
||||
" bytes are left for transfer", chunk, size - chunk);
|
||||
infof(data, "Written %zu bytes, %" FMT_OFF_T
|
||||
" bytes are left for transfer", chunk, (curl_off_t)(size - chunk));
|
||||
|
||||
/* Have we used the entire overflow or part of it?*/
|
||||
if(pp->overflow > chunk) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue