mirror of
https://github.com/curl/curl.git
synced 2025-03-13 15:37:04 +08:00
limit-rate: fix compiler warning
follow-up to 72a0f62
This commit is contained in:
parent
cd3903127f
commit
981e8f9b88
@ -277,7 +277,7 @@ timediff_t Curl_pgrsLimitWaitTime(curl_off_t cursize,
|
||||
else {
|
||||
minimum = (time_t) (size / limit);
|
||||
if(minimum < TIME_T_MAX/1000)
|
||||
minimum *= CURL_OFF_T_C(1000);
|
||||
minimum *= 1000;
|
||||
else
|
||||
minimum = TIME_T_MAX;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user