summaryrefslogtreecommitdiffstats
path: root/src/download.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/download.c')
-rw-r--r--src/download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/download.c b/src/download.c
index 2194091..a258da2 100644
--- a/src/download.c
+++ b/src/download.c
@@ -92,7 +92,7 @@ static int download_progress(void *clientp, double dltotal, double dlnow, double
{
double p = (dlnow / dltotal) * 100;
- if (p < 100.0f) {
+ if (p < 100.0) {
if ((int)p > lastprogress) {
info("downloading: %d%%\n", (int)p);
lastprogress = (int)p;