summaryrefslogtreecommitdiff
path: root/lib/progress.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-10 06:41:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-10 06:41:13 +0000
commit9dbd6659dc9611110bc48614ee22e40b3935576f (patch)
tree68a870520026afee8ab153b24e34a00fe1e59d12 /lib/progress.c
parent5ddad4cdb3f66a12c65845c3b1812406a59dd9ed (diff)
downloadcurl-9dbd6659dc9611110bc48614ee22e40b3935576f.tar.gz
more typecasts to please picky compilers
Diffstat (limited to 'lib/progress.c')
-rw-r--r--lib/progress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/progress.c b/lib/progress.c
index c6517ad0a..7294894a7 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -332,7 +332,7 @@ int Curl_pgrsUpdate(struct connectdata *conn)
/* the 'amount' value is bigger than would fit in 32 bits if
multiplied with 1000, so we use the double math for this */
data->progress.current_speed = (curl_off_t)
- ((double)amount/(span_ms/1000.0));
+ ((double)amount/((double)span_ms/1000.0));
else
/* the 'amount' value is small enough to fit within 32 bits even
when multiplied with 1000 */