diff options
author | jkim <jkim@FreeBSD.org> | 2007-03-22 21:14:43 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2007-03-22 21:14:43 +0000 |
commit | 97c51b70f47f67ac6b1133deaabbdf6c8a8755da (patch) | |
tree | 332976112fc85dac4bbd46bfec2ef2dd3043d459 | |
parent | 74c030896279402ad662e3b5910a9305b19e58fd (diff) | |
download | FreeBSD-src-97c51b70f47f67ac6b1133deaabbdf6c8a8755da.zip FreeBSD-src-97c51b70f47f67ac6b1133deaabbdf6c8a8755da.tar.gz |
Fix tinderbox build breakage.
Note that it is committed on the vendor branch because it will be
submitted to the vendor.
-rw-r--r-- | sys/contrib/dev/acpica/evmisc.c | 3 | ||||
-rw-r--r-- | sys/contrib/dev/acpica/hwsleep.c | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/contrib/dev/acpica/evmisc.c b/sys/contrib/dev/acpica/evmisc.c index 5fdc179..881519f 100644 --- a/sys/contrib/dev/acpica/evmisc.c +++ b/sys/contrib/dev/acpica/evmisc.c @@ -463,7 +463,8 @@ AcpiEvInitGlobalLockHandler ( ACPI_FUNCTION_TRACE (EvInitGlobalLockHandler); - Status = AcpiGetTableByIndex (ACPI_TABLE_INDEX_FACS, (ACPI_TABLE_HEADER **) &Facs); + Status = AcpiGetTableByIndex (ACPI_TABLE_INDEX_FACS, + ACPI_CAST_INDIRECT_PTR (ACPI_TABLE_HEADER, &Facs)); if (ACPI_FAILURE (Status)) { return_ACPI_STATUS (Status); diff --git a/sys/contrib/dev/acpica/hwsleep.c b/sys/contrib/dev/acpica/hwsleep.c index 1b02406..8dad09f 100644 --- a/sys/contrib/dev/acpica/hwsleep.c +++ b/sys/contrib/dev/acpica/hwsleep.c @@ -147,7 +147,8 @@ AcpiSetFirmwareWakingVector ( /* Get the FACS */ - Status = AcpiGetTableByIndex (ACPI_TABLE_INDEX_FACS, (ACPI_TABLE_HEADER **) &Facs); + Status = AcpiGetTableByIndex (ACPI_TABLE_INDEX_FACS, + ACPI_CAST_INDIRECT_PTR (ACPI_TABLE_HEADER, &Facs)); if (ACPI_FAILURE (Status)) { return_ACPI_STATUS (Status); @@ -209,7 +210,8 @@ AcpiGetFirmwareWakingVector ( /* Get the FACS */ - Status = AcpiGetTableByIndex (ACPI_TABLE_INDEX_FACS, (ACPI_TABLE_HEADER **) &Facs); + Status = AcpiGetTableByIndex (ACPI_TABLE_INDEX_FACS, + ACPI_CAST_INDIRECT_PTR (ACPI_TABLE_HEADER, &Facs)); if (ACPI_FAILURE (Status)) { return_ACPI_STATUS (Status); |