X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/2489c1a05bd92271c61c3db3a6fb5f63a168b528..1d0c38b8a4f5abc4f06ad5f8b429035d2e465883:/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) {