This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What the warning?

I have this code

IAP_STATUS_CODE software_update_procedure(int8_t const *ap_folder_entry)

which calls

if (strncasecmp(ap_folder_entry + 8, IMAGES_NAME_EXTENSION, strlen(IMAGES_NAME_EXTENSION) ) == 0)

while

extern _ARMABI int strncasecmp(const char * /*s1*/, const char * /*s2*/, size_t /*n*/) __attribute__((__nonnull__(1,2)));

which generates this warning:

src\software_update.c(16): warning:  #167-D: argument of type "const int8_t *" is incompatible with parameter of type "const char *"

but the type int8_t is defined like this

typedef   signed          char int8_t;

checking "Plain Char is Signed" does not help.

0