Wrong parens: Use `((val) |= (bit))`.