add some parens to silence a gcc warning

Found this when building under Wine.  I think the code as written is fine but I also like being warning clean.