gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 32/178: timeval: remove compilation warning by cast


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 32/178: timeval: remove compilation warning by casting (#2417)
Date: Wed, 23 May 2018 12:24:27 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 6231a89aa3961e357d7eb717548463985de2d08d
Author: Sergei Nikulov <address@hidden>
AuthorDate: Thu Mar 22 16:34:11 2018 +0300

    timeval: remove compilation warning by casting (#2417)
    
    This is fixes #2358
---
 lib/timeval.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/timeval.c b/lib/timeval.c
index 66f923a8e..d11b95197 100644
--- a/lib/timeval.c
+++ b/lib/timeval.c
@@ -128,7 +128,7 @@ struct curltime Curl_now(void)
   struct curltime ret;
   (void)gettimeofday(&now, NULL);
   ret.tv_sec = now.tv_sec;
-  ret.tv_usec = now.tv_usec;
+  ret.tv_usec = (int)now.tv_usec;
   return ret;
 }
 

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



reply via email to

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