summaryrefslogtreecommitdiff
path: root/source/tools/examples/extables.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools/examples/extables.c')
-rw-r--r--source/tools/examples/extables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/examples/extables.c b/source/tools/examples/extables.c
index 054f62ef59a1..6ab3293237ed 100644
--- a/source/tools/examples/extables.c
+++ b/source/tools/examples/extables.c
@@ -235,7 +235,7 @@ AcpiOsGetRootPointer (
void)
{
- return ((ACPI_PHYSICAL_ADDRESS) RsdpCode);
+ return (ACPI_PTR_TO_PHYSADDR (RsdpCode));
}