E:\worksapce_Qt\xx.cpp:56: error: constant expression evaluates to 170 which cannot be narrowed to type 'char'
这不应该吧。怎么破
我估计这里的char是有符号的整数,相当于INT8,当然170是大于128的,所以不能赋值啦。
你看看是否char应该是UINT8,是不是哪里处理错误了?