summaryrefslogtreecommitdiff
path: root/source/compiler/aslutils.c
diff options
context:
space:
mode:
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;
}