mirror of
https://github.com/curl/curl.git
synced 2026-07-24 12:47:15 +03:00
wait_ms: takes an int argument
Typecasts added since I changed more code to use long for timeouts
This commit is contained in:
parent
4f170ee8f9
commit
7559b77727
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue