summaryrefslogtreecommitdiff
path: root/ev_poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev_poll.c')
-rw-r--r--ev_poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev_poll.c b/ev_poll.c
index 7c7ece1..5f62bba 100644
--- a/ev_poll.c
+++ b/ev_poll.c
@@ -92,7 +92,7 @@ poll_poll (EV_P_ ev_tstamp timeout)
int res;
EV_RELEASE_CB;
- res = poll (polls, pollcnt, ev_timeout_to_ms (timeout));
+ res = poll (polls, pollcnt, timeout * 1e3);
EV_ACQUIRE_CB;
if (expect_false (res < 0))