Fix logic in ldr_ro_manager
Fix argument type for isdigit/isxdigit
This commit is contained in:
1 parent
b0a66a63ba
commit
e561919a52
9 files changed
+34
-33
No files matched your search
@@ -116,7 +116,7 @@ Result SettingsItemManager::ValidateKey(const char *key) {
|
||||
|
||||
static bool IsHexadecimal(const char *str) {
|
||||
while (*str) {
|
||||
if (isxdigit(*str)) {
|
||||
if (isxdigit((unsigned char)*str)) {
|
||||
str++;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user