commit 1c5a1113bc593cb3f6c1393fcac680d4768c8d35
parent cff44da04995e9f4eda7483b47047295d345f1e6
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 13 Mar 2020 12:00:30 +0100
Fix binary operation precedence issue
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wendy.c b/wendy.c
@@ -225,7 +225,7 @@ main (int argc, char **argv)
wait(NULL);
}
- switch(e->mask & IN_ALL_EVENTS|IN_IGNORED) {
+ switch(e->mask & (IN_ALL_EVENTS|IN_IGNORED)) {
case IN_CREATE:
/* Watch subdirectories upon creation */
if (rflag)