summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/libpayload/libc/ctype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/libc/ctype.c b/payloads/libpayload/libc/ctype.c
index 9f83261ac1..5485b46097 100644
--- a/payloads/libpayload/libc/ctype.c
+++ b/payloads/libpayload/libc/ctype.c
@@ -91,7 +91,7 @@ int isupper(int c)
int isxdigit(int c)
{
- return isdigit(c) || (tolower(c) >= 'a' && tolower(c) <= 'z');
+ return isdigit(c) || (tolower(c) >= 'a' && tolower(c) <= 'f');
}
int tolower(int c)