[sr-dev] git:master: core: avoid warning of using bitwise operator with boolean result