diff --git a/sys/contrib/dev/acpica/osunixxf.c b/sys/contrib/dev/acpica/osunixxf.c index ecb72288cef6..993eb5f2bb09 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; }