aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index 68339790b..dc14e4704 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2135,7 +2135,7 @@ static int handleSock5Proxy(const char *proxy_name,
Curl_nonblock(sock, TRUE);
/* wait until socket gets connected */
- result = Curl_select(CURL_SOCKET_BAD, sock, timeout);
+ result = Curl_select(CURL_SOCKET_BAD, sock, (int)timeout);
if(-1 == result) {
failf(conn->data, "SOCKS5: no connection here");
@@ -2167,7 +2167,7 @@ static int handleSock5Proxy(const char *proxy_name,
Curl_nonblock(sock, TRUE);
- result = Curl_select(sock, CURL_SOCKET_BAD, timeout);
+ result = Curl_select(sock, CURL_SOCKET_BAD, (int)timeout);
if(-1 == result) {
failf(conn->data, "SOCKS5 nothing to read");