1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor-sys/acpica/dist/; revision=118765

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