title: "Use of a signed integer operand with a binary bitwise operator" - when using unsigned short
body: <p>In the following C snippet that checks if the first two bits of a 16-bit sequence are set:</p>
  
  <pre><code>bool is_pointer(unsigned short int sequence) {
    return (sequence &gt;&gt; 14) == 3;
  }
  </code></pre>
  
  <p>CLion's Clang-Tidy is giving me a "Use of a signed integer operand with a binary bitwise operator" warning, and I can't understand why. Is <code>unsigned short</code> not unsigned enough?</p>