From fcf000c13c8f0a081758ed40a741d2f37a06151b Mon Sep 17 00:00:00 2001 From: Nate Lawson Date: Mon, 11 Aug 2003 05:54:31 +0000 Subject: Fix AcpiOsMapMemory to match the function definition. Don't use UINT32 as a cast for a pointer. Change has been submitted to the vendor. Pointed out by: marcel, obrien --- sys/contrib/dev/acpica/osunixxf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/contrib/dev') 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; } -- cgit v1.3