summaryrefslogtreecommitdiff
path: root/source/compiler/dtutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/dtutils.c')
-rw-r--r--source/compiler/dtutils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/compiler/dtutils.c b/source/compiler/dtutils.c
index 51068ed7ba32..95f005dcbbc1 100644
--- a/source/compiler/dtutils.c
+++ b/source/compiler/dtutils.c
@@ -241,7 +241,7 @@ DtStrtoul64 (
while (*ThisChar)
{
- if (isdigit (*ThisChar))
+ if (isdigit ((int) *ThisChar))
{
/* Convert ASCII 0-9 to Decimal value */
@@ -249,8 +249,8 @@ DtStrtoul64 (
}
else /* Letter */
{
- ThisDigit = (UINT32) toupper (*ThisChar);
- if (!isxdigit ((char) ThisDigit))
+ ThisDigit = (UINT32) toupper ((int) *ThisChar);
+ if (!isxdigit ((int) ThisDigit))
{
/* Not A-F */