summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Kaufmann <mail@michael-kaufmann.ch>2018-03-12 21:26:31 +0100
committerMichael Kaufmann <mail@michael-kaufmann.ch>2018-03-12 21:26:33 +0100
commit981e8f9b8863bb476caaffc1fafc3d4cad4e6261 (patch)
treeda6108c51cfb7544dd03a4b5d20d401ce0e8f2a0 /lib
parentcd3903127fe5124e283a3a69b0baddddff3048e9 (diff)
downloadcurl-981e8f9b8863bb476caaffc1fafc3d4cad4e6261.tar.gz
limit-rate: fix compiler warning
follow-up to 72a0f62
Diffstat (limited to 'lib')
-rw-r--r--lib/progress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/progress.c b/lib/progress.c
index 0ac0c469f..ce8be7ffb 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -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;
}