[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 28/41: bagder/Curl_tvdiff_us: fix the math
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 28/41: bagder/Curl_tvdiff_us: fix the math |
Date: |
Sun, 20 Aug 2017 20:46:50 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.55.1
in repository gnurl.
commit 7973baacea1ad22f235f64642af71d6791e763b3
Author: Daniel Stenberg <address@hidden>
AuthorDate: Sat Aug 12 15:34:59 2017 +0200
bagder/Curl_tvdiff_us: fix the math
Regression since adef394ac5 (released in 7.55.0)
Reported-by: Han Qiao
Fixes #1769
Closes #1771
---
lib/timeval.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/timeval.c b/lib/timeval.c
index 69a8fb1fc..d7207b3a2 100644
--- a/lib/timeval.c
+++ b/lib/timeval.c
@@ -158,5 +158,5 @@ time_t Curl_tvdiff_us(struct curltime newer, struct
curltime older)
return 0x7fffffffffffffffLL;
#endif
return (newer.tv_sec-older.tv_sec)*1000000+
- (time_t)(newer.tv_usec-older.tv_usec);
+ (int)(newer.tv_usec-older.tv_usec);
}
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 16/41: openssl: fix "error: this statement may fall through", (continued)
- [GNUnet-SVN] [gnurl] 16/41: openssl: fix "error: this statement may fall through", gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 21/41: test2033: this went flaky again, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 20/41: test1447: verifies the parse proxy fix in 6e0e152ce5c, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 15/41: openssl: remove CONST_ASN1_BIT_STRING., gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 08/41: travis: verify "make install", gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 19/41: parse_proxy(): fix memory leak in case of invalid proxy server name, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 38/41: cmake: Threads detection update. ref: #1702, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 05/41: digest_sspi: Don't reuse context if the user/passwd has changed, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 11/41: cmake: move cmake_uninstall.cmake to CMake/, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 14/41: maketgz: remove old *.dist files before making the tarball, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 28/41: bagder/Curl_tvdiff_us: fix the math,
gnunet <=
- [GNUnet-SVN] [gnurl] 32/41: travis: test cmake build on tarball too, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 26/41: docs: fix typo funtion -> function, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 33/41: test2032: mark as flaky (again), gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 18/41: RELEASE-NOTES: synced with 37f2195a9, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 40/41: RELEASE-NOTES/THANKS: curl 7.55.1 release time, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 34/41: redirect: skip URL encoding for host names, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 17/41: curlver: bump to 7.55.1, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 36/41: curl/system.h: GCC doesn't define __ppc__ on PowerPC, uses __powerpc__, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 39/41: gitignore: ignore .xz now instead of .lzma, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 27/41: curl/system.h: add Oracle Solaris Studio, gnunet, 2017/08/20