summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-07-28 10:25:26 +0000
committerpeter <peter@FreeBSD.org>2003-07-28 10:25:26 +0000
commit47f161a6d87ae6bf420a7b48853ae17aa969aa91 (patch)
treea0a605c1630f83fe55b6679dc2aa722db5eb5012 /sys/contrib
parent9f8ae7ae81b10790603961d8a5f09ef8c0873b50 (diff)
downloadFreeBSD-src-47f161a6d87ae6bf420a7b48853ae17aa969aa91.zip
FreeBSD-src-47f161a6d87ae6bf420a7b48853ae17aa969aa91.tar.gz
Make this compile on 64 bit systems again. You cannot just cast a 32 bit
int to a 64 bit pointer. This file is already off the vendor branch.
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/dev/acpica/dbcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/dbcmds.c b/sys/contrib/dev/acpica/dbcmds.c
index c3706a2..7907319 100644
--- a/sys/contrib/dev/acpica/dbcmds.c
+++ b/sys/contrib/dev/acpica/dbcmds.c
@@ -1292,7 +1292,7 @@ AcpiDbGenerateGpe (
BlockNumber = ACPI_STRTOUL (BlockArg, NULL, 0);
- GpeEventInfo = AcpiEvGetGpeEventInfo ((void *) BlockNumber, GpeNumber);
+ GpeEventInfo = AcpiEvGetGpeEventInfo ((void *)(uintptr_t) BlockNumber, GpeNumber);
if (!GpeEventInfo)
{
AcpiOsPrintf ("Invalid GPE\n");
OpenPOWER on IntegriCloud