代码这样
signed char buf[10] = {0};
sprintf(buf,"%d",1000);
提示一个警告:
..\..\User\src\uboot.c(558): warning: #167-D: argument of type "signed char *" is incompatible with parameter of type "char *restrict"
..\..\User\src\uboot.c: sprintf(buf,"%d",1000);
..\..\User\src\uboot.c(558): warning: #167-D: argument of type "unsigned char *" is incompatible with parameter of type "char *restrict"
..\..\User\src\uboot.c: sprintf(buf,"%d",1000);