From e213555c98856d82ff0bed679712f4c00baf128e Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 6 Feb 2007 18:06:37 +0000 Subject: compiler warning fix --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/http.c') diff --git a/lib/http.c b/lib/http.c index ad42273cd..bca1197d8 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1234,7 +1234,7 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn, /* loop every second at least, less if the timeout is near */ switch (Curl_select(tunnelsocket, CURL_SOCKET_BAD, - check<1000?check:1000)) { + check<1000L?(int)check:1000)) { case -1: /* select() error, stop reading */ error = SELECT_ERROR; failf(data, "Proxy CONNECT aborted due to select() error"); -- cgit v1.2.3