Fix logic in ldr_ro_manager

Fix argument type for isdigit/isxdigit
This commit is contained in:
hexkyz 2019-06-30 18:48:16 +01:00
parent b0a66a63ba
commit e561919a52
9 changed files with 34 additions and 33 deletions

View file

@ -32,7 +32,7 @@
static bool IsHexadecimal(const char *str) {
while (*str) {
if (isxdigit(*str)) {
if (isxdigit((unsigned char)*str)) {
str++;
} else {
return false;