bluedroid: fix -Wchar-subscripts warning

'unsigner char' cast recommended, https://stackoverflow.com/a/60696378
This commit is contained in:
Anton Maklakov 2022-01-30 20:36:12 +07:00
parent bcfec4ad74
commit b69efa20ad

View File

@ -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;
}