ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_poll.c
(Generate patch)

Comparing libev/ev_poll.c (file contents):
Revision 1.10 by root, Thu Nov 8 17:24:00 2007 UTC vs.
Revision 1.11 by root, Sat Nov 10 17:47:05 2007 UTC

77 77
78static void 78static void
79poll_poll (EV_P_ ev_tstamp timeout) 79poll_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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines