mirror of
https://github.com/curl/curl.git
synced 2026-07-29 07:43:08 +03:00
lib: fix compiler warnings after de4de4e3c7
Visual C++ now complains about implicitly casting time_t (64-bit) to long (32-bit). Fix this by changing some variables from long to time_t, or explicitly casting to long where the public interface would be affected. Closes #1131
This commit is contained in:
parent
0b8d682f81
commit
21aa32d30d
18 changed files with 54 additions and 54 deletions
|
|
@ -145,7 +145,7 @@ int Curl_wait_ms(int timeout_ms)
|
|||
int Curl_socket_check(curl_socket_t readfd0, /* two sockets to read from */
|
||||
curl_socket_t readfd1,
|
||||
curl_socket_t writefd, /* socket to write to */
|
||||
long timeout_ms) /* milliseconds to wait */
|
||||
time_t timeout_ms) /* milliseconds to wait */
|
||||
{
|
||||
#ifdef HAVE_POLL_FINE
|
||||
struct pollfd pfd[3];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue