summaryrefslogtreecommitdiff
path: root/source/components/utilities
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/utilities')
-rw-r--r--source/components/utilities/utdebug.c6
-rw-r--r--source/components/utilities/utinit.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/source/components/utilities/utdebug.c b/source/components/utilities/utdebug.c
index b6e914592..b0c3640f2 100644
--- a/source/components/utilities/utdebug.c
+++ b/source/components/utilities/utdebug.c
@@ -185,7 +185,7 @@ AcpiUtInitStackPtrTrace (
ACPI_SIZE CurrentSp;
- AcpiGbl_EntryStackPointer = ACPI_TO_INTEGER(&CurrentSp);
+ AcpiGbl_EntryStackPointer = &CurrentSp;
}
@@ -208,9 +208,9 @@ AcpiUtTrackStackPtr (
ACPI_SIZE CurrentSp;
- if (ACPI_TO_INTEGER(&CurrentSp) < AcpiGbl_LowestStackPointer)
+ if (&CurrentSp < AcpiGbl_LowestStackPointer)
{
- AcpiGbl_LowestStackPointer = ACPI_TO_INTEGER(&CurrentSp);
+ AcpiGbl_LowestStackPointer = &CurrentSp;
}
if (AcpiGbl_NestingLevel > AcpiGbl_DeepestNesting)
diff --git a/source/components/utilities/utinit.c b/source/components/utilities/utinit.c
index 1e21ebdc3..37ec63bc6 100644
--- a/source/components/utilities/utinit.c
+++ b/source/components/utilities/utinit.c
@@ -359,7 +359,7 @@ AcpiUtInitGlobals (
#endif
#ifdef ACPI_DEBUG_OUTPUT
- AcpiGbl_LowestStackPointer = ACPI_SIZE_MAX;
+ AcpiGbl_LowestStackPointer = ACPI_CAST_PTR (ACPI_SIZE, ACPI_SIZE_MAX);
#endif
#ifdef ACPI_DBG_TRACK_ALLOCATIONS