Fix a warning about ambiguous shift usage