gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 145/150: limit-rate: fix compiler warning


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 145/150: limit-rate: fix compiler warning
Date: Fri, 30 Mar 2018 16:49:59 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 981e8f9b8863bb476caaffc1fafc3d4cad4e6261
Author: Michael Kaufmann <address@hidden>
AuthorDate: Mon Mar 12 21:26:31 2018 +0100

    limit-rate: fix compiler warning
    
    follow-up to 72a0f62
---
 lib/progress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]