diff options
author | Ulf Jordan <jordan@chalmers.se> | 2008-04-12 20:09:46 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-04-12 20:09:46 +0000 |
commit | 50eff2147de057c28701a121ac9dde1b0997f4c0 (patch) | |
tree | cad8c550558f3562fd84ed41f838fbd65619bcb7 | |
parent | be504d1d8dfaf39a626cbb74450d26aa5eb05871 (diff) |
Correct upper boundary for isxdigit.
Signed-off-by: Ulf Jordan <jordan@chalmers.se>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3238 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | payloads/libpayload/libc/ctype.c | 2 |
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) |