Don't use the bitwise operator! Use the logical AND!

Signed-off-by: Staartvin <mijnleraar@msn.com>