!= has a higher precedence than bitwise &, so we need parentheses to check for one of the values in flags.
#74 (closed)