summaryrefslogtreecommitdiff
path: root/source/compiler/aslutils.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-07-20 22:31:50 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-07-20 22:31:50 +0000
commit136eac2a0638d3c751b1987603f71a9ae26879fd (patch)
tree1e61df024e8a47b6bc4e25d07f455c9dcd7e2dc8 /source/compiler/aslutils.c
parentf3bbb1ca6c1b2b877d015a8f5f0c67e48a7a57ae (diff)
Notes
Diffstat (limited to 'source/compiler/aslutils.c')
-rw-r--r--source/compiler/aslutils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/compiler/aslutils.c b/source/compiler/aslutils.c
index 8b77c8e1f4fae..9ea4c19c48a09 100644
--- a/source/compiler/aslutils.c
+++ b/source/compiler/aslutils.c
@@ -1008,17 +1008,17 @@ stroul64 (
*/
if (*String == '-')
{
- Sign = NEGATIVE;
+ Sign = ACPI_SIGN_NEGATIVE;
++String;
}
else if (*String == '+')
{
++String;
- Sign = POSITIVE;
+ Sign = ACPI_SIGN_POSITIVE;
}
else
{
- Sign = POSITIVE;
+ Sign = ACPI_SIGN_POSITIVE;
}
/*
@@ -1106,7 +1106,7 @@ stroul64 (
/* If a minus sign was present, then "the conversion is negated": */
- if (Sign == NEGATIVE)
+ if (Sign == ACPI_SIGN_NEGATIVE)
{
ReturnValue = (ACPI_UINT32_MAX - ReturnValue) + 1;
}