diff options
author | Yang Tse <yangsita@gmail.com> | 2006-09-07 01:18:46 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-09-07 01:18:46 +0000 |
commit | 7e4193b538a517eb27e4cb5b2b7973bae967add8 (patch) | |
tree | cd193adeee25c088775e15124adc4f251e762e42 | |
parent | a932803eac4d3d99efec740d19fba2b25ab8347c (diff) | |
download | curl-7e4193b538a517eb27e4cb5b2b7973bae967add8.tar.gz |
Fix compiler warningcurl-7_15_6-prepipeline
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 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"); |