diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-04-06 16:27:45 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-04-11 14:16:30 +0200 |
commit | b29b85055e05b1e2f5112ca93c7c6b4673ff42ca (patch) | |
tree | 026eeddf4f0f8dec00f371c28b1f12d224b69c52 /contrib/libev/ev.c | |
parent | 7eb5d24c907489ba1a20baf64e2afdfada978d93 (diff) | |
download | rspamd-b29b85055e05b1e2f5112ca93c7c6b4673ff42ca.tar.gz rspamd-b29b85055e05b1e2f5112ca93c7c6b4673ff42ca.zip |
[Minor] Explicit specify order of binary operations
../contrib/libev/ev.c: In function ‘ev_io_start’:
../contrib/libev/ev.c:4396:34: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
4396 | fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
| ~~~~~~~~~~^~~~~~~~~~~~~
Diffstat (limited to 'contrib/libev/ev.c')
-rw-r--r-- | contrib/libev/ev.c | 2 |
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; |