Tag: 编译器 警告

C#Bitwise-或运算符用于符号扩展操作数; 首先考虑转换为较小的无符号类型

我知道这些警告可能毫无意义..但无论如何我可以摆脱它们? 我收到了7个这样的警告。 Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first 这与OR运算符有关 我突出了发出警告的内容。 int result = (int)ror((uint)(v76 ^ (v75 | 0x862D63D3)), (uint)(BitConverter.ToInt32(v4, 72) ^ 0x22)); int v11 = (int)rol((uint)(int)((v8 & v10 | ~v10 & 0xEFCDAAC9) + v3[2] – 1126481991), 17); int v144 = (int)rol((uint)(int)((v141 & v143 | ~v143 & […]