From: Yang Tse Date: Thu, 7 Sep 2006 01:18:46 +0000 (+0000) Subject: Fix compiler warning X-Git-Tag: curl-7_15_6-prepipeline X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e4193b538a517eb27e4cb5b2b7973bae967add8;p=thirdparty%2Fcurl.git Fix compiler warning --- diff --git a/lib/url.c b/lib/url.c index 68339790b8..dc14e4704e 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");