[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 114/205: multi: fix MinGW-w64 compiler warnings
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 114/205: multi: fix MinGW-w64 compiler warnings |
Date: |
Thu, 20 Apr 2017 16:20:54 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.
commit 068cd1ad4c2e1e7c6791cb78faf570554a32c17f
Author: Marcel Raad <address@hidden>
AuthorDate: Mon Mar 27 22:50:59 2017 +0200
multi: fix MinGW-w64 compiler warnings
error: conversion to 'long int' from 'time_t {aka long long int}' may alter
its value [-Werror=conversion]
---
lib/multi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/multi.c b/lib/multi.c
index 6cdba393e..88ce00566 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -2939,7 +2939,7 @@ void Curl_expire(struct Curl_easy *data, time_t milli)
set = Curl_tvnow();
set.tv_sec += (long)(milli/1000);
- set.tv_usec += (milli%1000)*1000;
+ set.tv_usec += (long)(milli%1000)*1000;
if(set.tv_usec >= 1000000) {
set.tv_sec++;
@@ -2996,7 +2996,7 @@ void Curl_expire_latest(struct Curl_easy *data, time_t
milli)
set = Curl_tvnow();
set.tv_sec += (long)(milli / 1000);
- set.tv_usec += (milli % 1000) * 1000;
+ set.tv_usec += (long)(milli % 1000) * 1000;
if(set.tv_usec >= 1000000) {
set.tv_sec++;
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 110/205: tests/README: make "Run" section foolproof, (continued)
- [GNUnet-SVN] [gnurl] 110/205: tests/README: make "Run" section foolproof, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 98/205: cmake: add support for building HTML and PDF docs, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 95/205: examples: comment typos in http2 examples, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 70/205: url: add option CURLOPT_SUPPRESS_CONNECT_HEADERS, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 22/205: url: split off proxy init and parsing from create_conn, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 122/205: make: use the variable MAKE for recursive calls, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 129/205: cmake: add cmake file in docs/libcurl/opts/ to dist, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 45/205: gitignore: Ignore man page dist files, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 74/205: test1440/1: depend on well-defined file: behaviour, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 88/205: test714/5: added HTTP as a required feature, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 114/205: multi: fix MinGW-w64 compiler warnings,
gnunet <=
- [GNUnet-SVN] [gnurl] 117/205: openssl: exclude DSA code when OPENSSL_NO_DSA is defined, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 144/205: fail-early.d: fix typos, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 130/205: select: use correct SIZEOF_ constant, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 116/205: examples/fopen: checksrc compliance, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 115/205: schannel: fix variable shadowing warning, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 51/205: vtls: add options to specify range of enabled TLS versions, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 132/205: schannel: fix unused variable warning, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 103/205: CURLINFO_PRIMARY_IP.3: add example, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 81/205: BINDINGS: a Delphi binding, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 119/205: pause: handle mixed types of data when paused, gnunet, 2017/04/20