Fix bitwise operation error when compiling as C++26

Reference issue

What does this implement/fix?

Fixes #2905 (closed)

Additional information

Merge request reports

Loading