From: Yang Tse Date: Mon, 2 Apr 2007 02:13:26 +0000 (+0000) Subject: fix compiler warning X-Git-Tag: curl-7_16_2~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a7d58378b3fa0d33b638113f29ad501e7e62dd8;p=thirdparty%2Fcurl.git fix compiler warning --- diff --git a/lib/select.c b/lib/select.c index e39174f1a5..83484eeeb3 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;