The code for this warning checks if either operand to the bitwise operator is signed. It is not sequence
causing the warning, but 14
, and you can alleviate the problem by making 14
unsigned by appending a u
to the end.
(sequence >> 14u)
This warning is bad. As Roland’s answer describes, CLion is fixing this.