File libev-4.15_compiler_warnings.patch of Package libev

Index: ev.c
===================================================================
--- ev.c.orig
+++ ev.c
@@ -3845,7 +3845,7 @@ ev_io_start (EV_P_ ev_io *w) EV_THROW
   /* 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;
@@ -5086,8 +5086,8 @@ ev_walk (EV_P_ int types, void (*cb)(EV_
           wl = wn;
         }
 #endif
-/* EV_STAT     0x00001000 /* stat data changed */
-/* EV_EMBED    0x00010000 /* embedded event loop needs sweep */
+/* EV_STAT     0x00001000 *//* stat data changed */
+/* EV_EMBED    0x00010000 *//* embedded event loop needs sweep */
 }
 #endif
openSUSE Build Service is sponsored by