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
This commit is contained in:
Nate Lawson 2003-08-11 05:54:31 +00:00
parent ade9d6fdcf
commit fcf000c13c

View File

@ -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;
}