mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
bluedroid: fix -Wchar-subscripts warning
'unsigner char' cast recommended, https://stackoverflow.com/a/60696378
This commit is contained in:
parent
bcfec4ad74
commit
b69efa20ad
@ -612,7 +612,7 @@ static UINT8 bta_ag_parse_chld(tBTA_AG_SCB *p_scb, char *p_s)
|
||||
INT16 idx = -1;
|
||||
UNUSED(p_scb);
|
||||
|
||||
if (!isdigit(p_s[0])) {
|
||||
if (!isdigit((unsigned char)p_s[0])) {
|
||||
return BTA_AG_INVALID_CHLD;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user