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
ade9d6fdcf
commit
fcf000c13c
@ -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