diff options
author | Nate Lawson <njl@FreeBSD.org> | 2003-08-11 05:54:31 +0000 |
---|---|---|
committer | Nate Lawson <njl@FreeBSD.org> | 2003-08-11 05:54:31 +0000 |
commit | fcf000c13c8f0a081758ed40a741d2f37a06151b (patch) | |
tree | d73c87d3e59b5df40fea31731211e1693597bdde /sys | |
parent | ade9d6fdcf7266112fc48a025f4988ba05727f0c (diff) | |
download | src-fcf000c13c8f0a081758ed40a741d2f37a06151b.tar.gz src-fcf000c13c8f0a081758ed40a741d2f37a06151b.zip |
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
Notes
Notes:
svn path=/vendor-sys/acpica/dist/; revision=118765
Diffstat (limited to 'sys')
-rw-r--r-- | sys/contrib/dev/acpica/osunixxf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/dev/acpica/osunixxf.c b/sys/contrib/dev/acpica/osunixxf.c index ecb72288cef6..993eb5f2bb09 100644 --- a/sys/contrib/dev/acpica/osunixxf.c +++ b/sys/contrib/dev/acpica/osunixxf.c @@ -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; } |