summaryrefslogtreecommitdiff
path: root/ev_epoll.c
diff options
context:
space:
mode:
authorroot <root>2011-01-17 12:11:11 +0000
committerroot <root>2011-01-17 12:11:11 +0000
commit2433d34aa31bda69b3b28888ac035e1dc08663e3 (patch)
tree89dce4e81f7e5579b0d6c4c779db367f8219a8f4 /ev_epoll.c
parentf00667682ef34d61b3f0f77e5bc3983fc40c55ef (diff)
*** empty log message ***
Diffstat (limited to 'ev_epoll.c')
-rw-r--r--ev_epoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev_epoll.c b/ev_epoll.c
index d0caa93..2c9dda0 100644
--- a/ev_epoll.c
+++ b/ev_epoll.c
@@ -148,7 +148,7 @@ epoll_poll (EV_P_ ev_tstamp timeout)
/* the default libev max wait time, however. */
EV_RELEASE_CB;
eventcnt = epoll_wait (backend_fd, epoll_events, epoll_eventmax,
- epoll_epermcnt ? 0 : (int)ceil (timeout * 1000.));
+ epoll_epermcnt ? 0 : ev_timeout_to_ms (timeout));
EV_ACQUIRE_CB;
if (expect_false (eventcnt < 0))