summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev_poll.c2
1 files changed, 1 insertions, 1 deletions
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)
{