From: Daniel Stenberg Date: Mon, 22 Nov 2004 13:28:44 +0000 (+0000) Subject: Curl_select's timeout arg is an int X-Git-Tag: curl-7_12_3~174 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e34e75100d8eac74f5a0019c3b22fde53bc08d6;p=thirdparty%2Fcurl.git Curl_select's timeout arg is an int --- diff --git a/lib/connect.c b/lib/connect.c index b8e1e7158a..e982ddfafa 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -212,7 +212,7 @@ int waitconnect(curl_socket_t sockfd, /* socket */ #endif /* now select() until we get connect or timeout */ - rc = Curl_select(CURL_SOCKET_BAD, sockfd, timeout_msec); + rc = Curl_select(CURL_SOCKET_BAD, sockfd, (int)timeout_msec); if(-1 == rc) /* error, no connect here, try next */ return WAITCONN_SELECT_ERROR; diff --git a/lib/ssluse.c b/lib/ssluse.c index 1afcb8e542..8b248628b9 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -1374,7 +1374,7 @@ Curl_SSLConnect(struct connectdata *conn, break; while(1) { - what = Curl_select(readfd, writefd, timeout_ms); + what = Curl_select(readfd, writefd, (int)timeout_ms); if(what > 0) /* reabable or writable, go loop in the outer loop */ break;