summaryrefslogtreecommitdiffstats
path: root/source/components/debugger/dbdisply.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/debugger/dbdisply.c')
-rw-r--r--source/components/debugger/dbdisply.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/components/debugger/dbdisply.c b/source/components/debugger/dbdisply.c
index c453d57..046bbc3 100644
--- a/source/components/debugger/dbdisply.c
+++ b/source/components/debugger/dbdisply.c
@@ -139,9 +139,11 @@ AcpiDbGetPointer (
void *Target)
{
void *ObjPtr;
+ ACPI_SIZE Address;
- ObjPtr = ACPI_TO_POINTER (ACPI_STRTOUL (Target, NULL, 16));
+ Address = ACPI_STRTOUL (Target, NULL, 16);
+ ObjPtr = ACPI_TO_POINTER (Address);
return (ObjPtr);
}
OpenPOWER on IntegriCloud