summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-08-11 05:54:31 +0000
committernjl <njl@FreeBSD.org>2003-08-11 05:54:31 +0000
commit29847d4b884915e80262e4b62ca3b0dd7428d38b (patch)
treed73c87d3e59b5df40fea31731211e1693597bdde /sys
parent7d00a4ad3d853a7fb8deb8c9076c67b314859e3e (diff)
downloadFreeBSD-src-29847d4b884915e80262e4b62ca3b0dd7428d38b.zip
FreeBSD-src-29847d4b884915e80262e4b62ca3b0dd7428d38b.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/contrib/dev/acpica/osunixxf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/dev/acpica/osunixxf.c b/sys/contrib/dev/acpica/osunixxf.c
index ecb7228..993eb5f 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;
}
OpenPOWER on IntegriCloud