[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 124/222: lib: silence conversion warnings
From: |
gnunet |
Subject: |
[gnurl] 124/222: lib: silence conversion warnings |
Date: |
Thu, 07 Nov 2019 00:10:20 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 69d95b6d4c3dce64e58bd36d998ee10ae4da0f34
Author: Marcel Raad <address@hidden>
AuthorDate: Tue Oct 1 00:24:50 2019 +0200
lib: silence conversion warnings
Closes https://github.com/curl/curl/pull/4444
---
lib/hostip.c | 2 +-
lib/vssh/libssh2.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/hostip.c b/lib/hostip.c
index bd532a891..d4e8f9366 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -749,7 +749,7 @@ clean_up:
conn->created) / 1000;
/* the alarm period is counted in even number of seconds */
- unsigned long alarm_set = prev_alarm - elapsed_secs;
+ unsigned long alarm_set = (unsigned long)(prev_alarm - elapsed_secs);
if(!alarm_set ||
((alarm_set >= 0x80000000) && (prev_alarm < 0x80000000)) ) {
diff --git a/lib/vssh/libssh2.c b/lib/vssh/libssh2.c
index 6a6793aa3..c71cfbc9f 100644
--- a/lib/vssh/libssh2.c
+++ b/lib/vssh/libssh2.c
@@ -2822,7 +2822,7 @@ static CURLcode ssh_block_statemach(struct connectdata
*conn,
fd_write = sock;
/* wait for the socket to become ready */
(void)Curl_socket_check(fd_read, CURL_SOCKET_BAD, fd_write,
- left>1000?1000:left); /* ignore result */
+ left>1000?1000:(time_t)left);
}
#endif
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 104/222: HTTP3: fix prefix parameter for ngtcp2 build, (continued)
- [gnurl] 104/222: HTTP3: fix prefix parameter for ngtcp2 build, gnunet, 2019/11/06
- [gnurl] 96/222: HTTP3: update quic.aiortc.org + add link to server list, gnunet, 2019/11/06
- [gnurl] 107/222: tests: fix narrowing conversion warnings, gnunet, 2019/11/06
- [gnurl] 116/222: BINDINGS: Kapito is an Erlang library, basically a binding, gnunet, 2019/11/06
- [gnurl] 111/222: RELEASE-NOTES: synced, gnunet, 2019/11/06
- [gnurl] 112/222: setopt: handle ALTSVC set to NULL, gnunet, 2019/11/06
- [gnurl] 118/222: quiche: update HTTP/3 config creation to new API, gnunet, 2019/11/06
- [gnurl] 115/222: BINDINGS: added clj-curl, gnunet, 2019/11/06
- [gnurl] 119/222: mailmap: a Lucas fix, gnunet, 2019/11/06
- [gnurl] 120/222: altsvc: accept quoted ma and persist values, gnunet, 2019/11/06
- [gnurl] 124/222: lib: silence conversion warnings,
gnunet <=
- [gnurl] 113/222: cookies: using a share with cookies shouldn't enable the cookie engine, gnunet, 2019/11/06
- [gnurl] 126/222: checksrc: fix uninitialized variable warning, gnunet, 2019/11/06
- [gnurl] 117/222: BINDINGS: PureBasic, Net::Curl for perl and Nim, gnunet, 2019/11/06
- [gnurl] 133/222: RELEASE-NOTES: synced, gnunet, 2019/11/06
- [gnurl] 134/222: ESNI: initial build/setup, gnunet, 2019/11/06
- [gnurl] 135/222: CURLMOPT_MAX_CONCURRENT_STREAMS.3: fix SEE ALSO typo, gnunet, 2019/11/06
- [gnurl] 141/222: ngtcp2: adapt to API change, gnunet, 2019/11/06
- [gnurl] 140/222: cookies: change argument type for Curl_flush_cookies, gnunet, 2019/11/06
- [gnurl] 142/222: winbuild: add ENABLE_UNICODE option, gnunet, 2019/11/06
- [gnurl] 145/222: build: Remove unused HAVE_LIBSSL and HAVE_LIBCRYPTO defines, gnunet, 2019/11/06