mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-07 03:15:20 +00:00
If we use newlib the isdigit (and other similar functions) return an error as char can possibly be viewed as signed: usr/include/ctype.h:57:54: error: array subscript has type ‘char’ [-Werror=char-subscripts] #define __ctype_lookup(__c) ((__ctype_ptr__+sizeof(""[__c]))[(int)(__c)]) Being explicit about the char being unsigned char deals with this. Change-Id: If2416218220ef5b29f1a69470cbcc6b4fd49ef86 Signed-off-by: Kumar Gala <kumar.gala@linaro.org> |
||
---|---|---|
.. | ||
json | ||
libc | ||
Kbuild | ||
Kconfig | ||
Makefile |