summaryrefslogtreecommitdiff
path: root/ev_poll.c
diff options
context:
space:
mode:
authorroot <root>2007-11-10 17:47:05 +0000
committerroot <root>2007-11-10 17:47:05 +0000
commitbf7b6162766ceeaace65f5172e4ee303f14c3884 (patch)
treed4fe491425c04f46cdd620c213b6407626531baf /ev_poll.c
parent7b0376f11079bec4de73f2367644f92bd07318dc (diff)
*** empty log message ***
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 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)
{