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:
njl 2003-08-11 05:54:31 +00:00
parent 7d00a4ad3d
commit 29847d4b88

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