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
This commit is contained in:
parent
be504d1d8d
commit
50eff2147d
|
@ -91,7 +91,7 @@ int isupper(int c)
|
||||||
|
|
||||||
int isxdigit(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)
|
int tolower(int c)
|
||||||
|
|
Loading…
Reference in New Issue