Please use parens around this sort of logic.  Especially around bit ops.