mirror of
https://github.com/curl/curl.git
synced 2026-04-26 04:52:13 +03:00
tv_sec is an int, so we explicitly typecast the result of long - long to
an int when we assign it.
This commit is contained in:
parent
213d64fbd7
commit
9116dd41bd
1 changed files with 1 additions and 1 deletions
|
|
@ -526,7 +526,7 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn,
|
|||
struct timeval *tvp, tv, store;
|
||||
int count;
|
||||
|
||||
store.tv_sec = timeout - elapsed;
|
||||
store.tv_sec = (int)(timeout - elapsed);
|
||||
store.tv_usec = 0;
|
||||
|
||||
FD_ZERO(&read_fds);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue