diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-10-01 00:24:50 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-10-01 10:47:37 +0200 |
commit | 69d95b6d4c3dce64e58bd36d998ee10ae4da0f34 (patch) | |
tree | f6870b27077ed720a3b9fdcca3c443b1781396a2 /lib/vssh | |
parent | 68b0aac2f81251607cf803d92cd29b17388941fb (diff) |
lib: silence conversion warnings
Closes https://github.com/curl/curl/pull/4444
Diffstat (limited to 'lib/vssh')
-rw-r--r-- | lib/vssh/libssh2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |