------------------------------------------- #define uchar unsigned char uchar xdata lcd_show_buf[20]; uchar num; num = 2; sprintf(lcd_show_buf, "%4d", num); ------------------------------------------- use pc-lint , get the following error: Error 64: Type mismatch (arg. no. 1) (ptrs to signed/unsigned) I just want to know how to avoid such errors? Thank u!