diff options
author | Yang Tse <yangsita@gmail.com> | 2007-04-02 02:13:26 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-04-02 02:13:26 +0000 |
commit | 8a7d58378b3fa0d33b638113f29ad501e7e62dd8 (patch) | |
tree | bc9ea5248569913e9877a2b8a6e11746df62b244 /lib | |
parent | bdbaedc45222c0de88c40d8fd9dff98ada85ac3d (diff) |
fix compiler warning
Diffstat (limited to 'lib')
-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 e39174f1a..83484eeeb 100644 --- a/lib/select.c +++ b/lib/select.c @@ -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; |