aboutsummaryrefslogtreecommitdiff
path: root/source/compiler
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-06-17 17:11:44 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-06-17 17:11:44 +0000
commit764ef0515d13e66403dc8a0578ff91b88675ade6 (patch)
tree48d47011d3ce372b1584a942f077606b78e184ac /source/compiler
parent8811b910b092027f905013bced1da3e87c6b07b9 (diff)
downloadsrc-764ef0515d13e66403dc8a0578ff91b88675ade6.tar.gz
src-764ef0515d13e66403dc8a0578ff91b88675ade6.zip
Remove all internal macros and cast various invocations as necessary.
Notes
Notes: svn path=/vendor-sys/acpica/dist/; revision=284519
Diffstat (limited to 'source/compiler')
-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 */