mirror of
https://github.com/curl/curl.git
synced 2026-06-02 00:54:15 +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
|
|
@ -227,11 +227,11 @@ bool progress_meter(struct GlobalConfig *global,
|
|||
}
|
||||
if(dlknown && all_dltotal)
|
||||
/* TODO: handle integer overflow */
|
||||
msnprintf(dlpercen, sizeof(dlpercen), "%3d",
|
||||
msnprintf(dlpercen, sizeof(dlpercen), "%3" CURL_FORMAT_CURL_OFF_T,
|
||||
all_dlnow * 100 / all_dltotal);
|
||||
if(ulknown && all_ultotal)
|
||||
/* TODO: handle integer overflow */
|
||||
msnprintf(ulpercen, sizeof(ulpercen), "%3d",
|
||||
msnprintf(ulpercen, sizeof(ulpercen), "%3" CURL_FORMAT_CURL_OFF_T,
|
||||
all_ulnow * 100 / all_ultotal);
|
||||
|
||||
/* get the transfer speed, the higher of the two */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue