mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 14:05:17 -04:00
Fix logic in ldr_ro_manager
Fix argument type for isdigit/isxdigit
This commit is contained in:
parent
b0a66a63ba
commit
e561919a52
9 changed files with 34 additions and 33 deletions
|
@ -70,7 +70,7 @@ static FsFile g_emummc_file = {0};
|
|||
|
||||
static bool IsHexadecimal(const char *str) {
|
||||
while (*str) {
|
||||
if (isxdigit(*str)) {
|
||||
if (isxdigit((unsigned char)*str)) {
|
||||
str++;
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue