title: C# Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first
body: <p>I know these warnings are probably pointless.. But anyway I could get rid of them?</p>
  
  <p>I got 7 of these warnings.</p>
  
  <p><code>Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first</code></p>
  
  <p>This has something to do with the OR operator <code>|</code></p>
  
  <p>I highlighted what gives off the warnings.</p>
  
  <pre><code>int result = (int)ror((uint)(v76 ^ (v75 | 0x862D63D3)), (uint)(BitConverter.ToInt32(v4, 72) ^ 0x22));
  
  int v11 = (int)rol((uint)(int)((v8 &amp; v10 | ~v10 &amp; 0xEFCDAAC9) + v3[2] - 1126481991), 17);
  
  int v144 = (int)rol((uint)(int)((v141 &amp; v143 | ~v143 &amp; 0xEFCDAAC9) + v3[2] - 1126481991), 17);
  
  int v77 = (int)(`BitConverter.ToInt32(v4, 52) | 0x96C35837`);
  
  
  BitConverter.GetBytes((int)(v30 &amp; 0x870DEA8A | v29)).CopyTo(v2, 32);
  
  int temp24 |= (int)(BitConverter.ToInt32(v3, 48) | 0x96B4A1B4);
  
  int v17 = (int)(BitConverter.ToInt32(v3, 12) | 0x83868A1D);
  </code></pre>