Fix a warning in a comparison expression