mirror of
https://github.com/curl/curl.git
synced 2026-05-19 09:06:22 +03:00
Fix compiler warning
This commit is contained in:
parent
a932803eac
commit
7e4193b538
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue