1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 11:35:07 -05:00

limit-rate: fix compiler warning

follow-up to 72a0f62
This commit is contained in:
Michael Kaufmann 2018-03-12 21:26:31 +01:00
parent cd3903127f
commit 981e8f9b88

View File

@ -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;
}