zephyr/lib
Kumar Gala 21309ea44b lib: json: use explicit unsigned char to avoid array subscript error
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>
2017-04-14 19:03:41 +00:00
..
json lib: json: use explicit unsigned char to avoid array subscript error 2017-04-14 19:03:41 +00:00
libc libc: attribute minimal libc printf style functions with __printf_like 2017-03-02 08:46:30 -06:00
Kbuild lib: Add minimal JSON library 2017-03-09 20:33:45 +02:00
Kconfig lib: Add minimal JSON library 2017-03-09 20:33:45 +02:00
Makefile net: Restructure network protocols 2017-01-02 10:03:19 +01:00