aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-06 18:06:37 +0000
committerYang Tse <yangsita@gmail.com>2007-02-06 18:06:37 +0000
commite213555c98856d82ff0bed679712f4c00baf128e (patch)
tree878e8b39a2ca00ad910a137349611e3d4798656f /lib/http.c
parent3a813b3c3b96f64e6eceec6f2930114f7432c0df (diff)
compiler warning fix
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
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");