fix warning

"Possible precedence issue with control flow operator"