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:
parent
7d00a4ad3d
commit
29847d4b88
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user