Could you bracket the `(1 << ...)` bit just to be sure of order-of-operations? (I know I've been tricked by bitwise operations before.)