… | … | ||
---|---|---|---|
77 | 77 | ||
78 | static void | 78 | static void |
79 | poll_poll (EV_P_ ev_tstamp timeout) | 79 | poll_poll (EV_P_ ev_tstamp timeout) |
80 | { | 80 | { |
81 | int i; | 81 | int i; |
82 | int res = poll (polls, pollcnt, ceil (timeout * 1000.)); | 82 | int res = poll (polls, pollcnt, (int)ceil (timeout * 1000.)); |
83 | 83 | ||
84 | if (res < 0) | 84 | if (res < 0) |
85 | { | 85 | { |
86 | if (errno == EBADF) | 86 | if (errno == EBADF) |
87 | fd_ebadf (EV_A); | 87 | fd_ebadf (EV_A); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |