gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 13/116: timeval: make timediff_t also work on 32bit


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 13/116: timeval: make timediff_t also work on 32bit windows
Date: Tue, 05 Dec 2017 14:50:43 +0100

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 788d3335734b24f4f15045989d1ce75d18e98961
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Oct 26 13:02:00 2017 +0200

    timeval: make timediff_t also work on 32bit windows
    
    ... by using curl_off_t for the typedef if time_t is larger than 4
    bytes.
    
    Reported-by: Gisle Vanem
    Bug: 
https://github.com/curl/curl/commit/b9d25f9a6b3ca791385b80a6a3c3fa5ae113e1e0#co
    mmitcomment-25205058
    Closes #2019
---
 lib/timeval.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/timeval.h b/lib/timeval.h
index 3821bfb73..fb3f680c4 100644
--- a/lib/timeval.h
+++ b/lib/timeval.h
@@ -27,7 +27,7 @@
 #if SIZEOF_TIME_T < 8
 typedef int timediff_t;
 #else
-typedef ssize_t timediff_t;
+typedef curl_off_t timediff_t;
 #endif
 
 struct curltime {

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



reply via email to

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