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");
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");