summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/contrib/dev/acpica/osunixxf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/dev/acpica/osunixxf.c b/sys/contrib/dev/acpica/osunixxf.c
index ecb7228..993eb5f 100644
--- a/sys/contrib/dev/acpica/osunixxf.c
+++ b/sys/contrib/dev/acpica/osunixxf.c
@@ -452,10 +452,10 @@ AcpiOsGetLine (
ACPI_STATUS
AcpiOsMapMemory (
ACPI_PHYSICAL_ADDRESS where,
- UINT32 length,
+ ACPI_SIZE length,
void **there)
{
- *there = (void *) (UINT32) where;
+ *there = (void *) (uintptr_t) where;
return AE_OK;
}
OpenPOWER on IntegriCloud