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 。
Warning c6219 : implicit cast between semantically different integer types : comparing hresult to 1 or true 警告c6219 :语义不同的整数类型之间的隐式强制转换:将hresult与1或true进行比较。
Warning c6221 : implicit cast between semantically different integer types : comparing hresult to an integer 警告c6221 :语义不同的整数类型之间的隐式强制转换:将hresult与一个整数进行比较。
Warning c6230 : implicit cast between semantically different integer types : using hresult in a boolean context 警告c6230 :语义不同的整数类型之间的隐式强制转换:在boolean上下文中使用hresult
Warning c6216 : compiler - inserted cast between semantically different integral types : a boolean type to hresult 警告c6216 :语义不同的整数类型之间由编译器插入的强制转换: boolean类型转换为hresult
Expressions must have integral type and can include only integer constants , character constants , and the defined operator 表达式必须有整数类型并且只能包括整数常量,字符常量,以及定义了的运算符。