zephyr/lib/json
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.c lib: json: use explicit unsigned char to avoid array subscript error 2017-04-14 19:03:41 +00:00
json.h lib: json: Add encoding support 2017-03-25 13:11:51 +00:00
Kconfig lib: Add minimal JSON library 2017-03-09 20:33:45 +02:00
Makefile lib: Add minimal JSON library 2017-03-09 20:33:45 +02:00