mirror of
https://github.com/curl/curl.git
synced 2026-06-02 03:14:15 +03:00
fix compiler warning
This commit is contained in:
parent
bdbaedc452
commit
8a7d58378b
1 changed files with 1 additions and 1 deletions
|
|
@ -479,7 +479,7 @@ int Curl_select(int nfds,
|
|||
SET_SOCKERRNO(EINVAL);
|
||||
return -1;
|
||||
}
|
||||
timeout_ms = (timeout->tv_sec * 1000) + (timeout->tv_usec / 1000);
|
||||
timeout_ms = (int)(timeout->tv_sec * 1000) + (int)(timeout->tv_usec / 1000);
|
||||
}
|
||||
else {
|
||||
timeout_ms = -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue