aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-06-05 12:06:50 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-06-05 12:06:50 +0200
commit7559b777278fd48a879d2d9d1f23bc2a42913a94 (patch)
treec413458625d6ac026f11788f075031557e5397d1 /lib
parent4f170ee8f9c1d067022300df2da331c30dcda9dd (diff)
wait_ms: takes an int argument
Typecasts added since I changed more code to use long for timeouts
Diffstat (limited to 'lib')
-rw-r--r--lib/select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/select.c b/lib/select.c
index 350539384..ab491c3ce 100644
--- a/lib/select.c
+++ b/lib/select.c
@@ -180,7 +180,7 @@ int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd,
int ret;
if((readfd == CURL_SOCKET_BAD) && (writefd == CURL_SOCKET_BAD)) {
- r = wait_ms(timeout_ms);
+ r = wait_ms((int)timeout_ms);
return r;
}
@@ -364,7 +364,7 @@ int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms)
}
}
if(fds_none) {
- r = wait_ms(timeout_ms);
+ r = wait_ms((int)timeout_ms);
return r;
}