X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/2489c1a05bd92271c61c3db3a6fb5f63a168b528..80f561c62ce8d30b87e4298b954ce280c4b5465f:/ev_poll.c?ds=inline diff --git a/ev_poll.c b/ev_poll.c index 5ad7261..d0b7299 100644 --- a/ev_poll.c +++ b/ev_poll.c @@ -79,7 +79,7 @@ static void poll_poll (EV_P_ ev_tstamp timeout) { int i; - int res = poll (polls, pollcnt, ceil (timeout * 1000.)); + int res = poll (polls, pollcnt, (int)ceil (timeout * 1000.)); if (res < 0) {