1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

fix compiler warning

This commit is contained in:
Yang Tse 2007-04-02 02:13:26 +00:00
parent bdbaedc452
commit 8a7d58378b

View File

@ -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;