mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 08:21:57 +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)]) Explicity cast to unsigned char so we deal with both this warning and possible warning when -Wpointer-sign is enabled. Signed-off-by: Kumar Gala <kumar.gala@linaro.org> |
||
---|---|---|
.. | ||
beacon | ||
central | ||
central_hr | ||
eddystone | ||
gatt | ||
handsfree | ||
hci_spi | ||
hci_uart | ||
hci_usb | ||
ibeacon | ||
ipsp | ||
mesh | ||
mesh_demo | ||
peripheral | ||
peripheral_csc | ||
peripheral_dis | ||
peripheral_esp | ||
peripheral_hids | ||
peripheral_hr | ||
peripheral_sc_only | ||
scan_adv | ||
bluetooth.rst |