diff options
Diffstat (limited to 'src/net.c')
-rw-r--r-- | src/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ static int xferinfo(UNUSED void *p, curl_off_t dltotal, curl_off_t dlnow, UNUSED { curl_off_t progress = 0; if (dltotal != 0) - progress = ((float)dlnow / dltotal) * 100; + progress = (dlnow * 100) / dltotal; fprintf(stderr, "\rProgress: %3" CURL_FORMAT_CURL_OFF_T "%%", progress); |