aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/libev/ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libev/ev.c b/contrib/libev/ev.c
index 3aab45006..e569a010c 100644
--- a/contrib/libev/ev.c
+++ b/contrib/libev/ev.c
@@ -4388,7 +4388,7 @@ ev_io_start (EV_P_ ev_io *w) EV_NOEXCEPT
/* common bug, apparently */
assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w));
- fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
+ fd_change (EV_A_ fd, (w->events & EV__IOFDSET) | EV_ANFD_REIFY);
w->events &= ~EV__IOFDSET;
EV_FREQUENT_CHECK;