From 4f170ee8f9c1d067022300df2da331c30dcda9dd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 4 Jun 2011 21:19:14 +0200 Subject: Curl_socket_ready: make timeout a 'long' It was mostly typecasted to int all over the code so switching to long instead all over should be a net gain. --- lib/select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/select.c') diff --git a/lib/select.c b/lib/select.c index 86af1dda9..350539384 100644 --- a/lib/select.c +++ b/lib/select.c @@ -160,7 +160,7 @@ static int wait_ms(int timeout_ms) * CURL_CSELECT_IN | CURL_CSELECT_OUT | CURL_CSELECT_ERR */ int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd, - int timeout_ms) + long timeout_ms) { #ifdef HAVE_POLL_FINE struct pollfd pfd[2]; -- cgit v1.2.3