The way to do a logical "or" (instead of a bitwise one on two boolean
expressions) is to use "||".
Instead, the code was changed to completely insane
(int) boolexpr1 | (int) boolexpr2
thing, which is entirely illegible and pointless, and no sane person
should ever write code like that.
In other words, the*proper* fix to a warning is to look at the code,
and*unsderstand* the code and the warning, instead of some mindless
conversion to just avoid a warning.