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