If overflow occurs converting one integer type to another , the high order bits are truncated 如果在将一个整数类型转换为另一个整数类型时发生溢出,则截断高序位字节。
Warning c6226 : implicit cast between semantically different integer types : assigning - 1 to hresult 警告c6226 :语义不同的整数类型之间的隐式强制转换:将- 1赋给hresult 。
Warning c6220 - implicit cast between semantically different integer types : comparing hresult to - 1 警告c6220 :语义不同的整数类型之间的隐式强制转换:将hresult与- 1进行比较。
Warning c6217 : implicit cast between semantically different integer types : testing hresult with not 警告c6217 :语义不同的整数类型之间的隐式强制转换:使用“ not ”测试hresult 。
Warning c6225 : implicit cast between semantically different integer types : assigning 1 or true to hresult 警告c6225 :语义不同的整数类型之间的隐式强制转换:将1或true赋给hresult 。