在做串口通信的时候 遇到如下警告
passing ‘unsigned char [150]’ to parameter of type ‘char *’ converts between pointers to integer types with different sign
我将unsigned char *p 改成 char *p就没事了
但是不改好像也没问题,只是一个警告,不修改的话也没有发现结果有异常
passing 'unsigned char [150]' to parameter of type 'char *' converts between pointers to integer typ
最新推荐文章于 2024-03-14 20:29:23 发布