diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-04-23 12:55:08 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-04-23 12:55:08 +0200 |
commit | 37617308d52b102f610b362b88c17cc497fdd7c6 (patch) | |
tree | c936759efcf9948b9c1965017bf1c0e90d64fc5f | |
parent | a78bb569fb1cf5d67193fe5f1811ec8ecf1dea33 (diff) | |
download | curl-bagder/gopher-timecheck.tar.gz |
fixup a typecast for Curl_select()bagder/gopher-timecheck
-rw-r--r-- | lib/select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/select.c b/lib/select.c index b4ac53fb1..d91b20a4b 100644 --- a/lib/select.c +++ b/lib/select.c @@ -333,7 +333,7 @@ int Curl_socket_check(curl_socket_t readfd0, /* two sockets to read from */ curl_socket_t is unsigned in such cases and thus -1 is the largest value). */ - r = Curl_select(maxfd, &fds_read, &fds_write, &fds_err, timeout_ms); + r = Curl_select(maxfd, &fds_read, &fds_write, &fds_err, (time_t)timeout_ms); if(r < 0) return -1; |