summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-01-19 00:37:17 +0000
committerjkim <jkim@FreeBSD.org>2013-01-19 00:37:17 +0000
commita1e34841434a947a5784c4c395e887c0faa16543 (patch)
treecc757f584e14f5736657ed059de1d72e3355c80b /sys/contrib
parentaf6f5a9a49588b666aad0f55b12889c28fd6ac6d (diff)
downloadFreeBSD-src-a1e34841434a947a5784c4c395e887c0faa16543.zip
FreeBSD-src-a1e34841434a947a5784c4c395e887c0faa16543.tar.gz
Work around build breakage with GCC 4.2.
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/dev/acpica/components/disassembler/dmresrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/components/disassembler/dmresrc.c b/sys/contrib/dev/acpica/components/disassembler/dmresrc.c
index 8663a2a..fd391b3 100644
--- a/sys/contrib/dev/acpica/components/disassembler/dmresrc.c
+++ b/sys/contrib/dev/acpica/components/disassembler/dmresrc.c
@@ -416,7 +416,7 @@ AcpiDmIsResourceTemplate (
/* Walk the byte list, abort on any invalid descriptor type or length */
Status = AcpiUtWalkAmlResources (WalkState, Aml, Length,
- NULL, (void **) &EndAml);
+ NULL, ACPI_CAST_INDIRECT_PTR (void, &EndAml));
if (ACPI_FAILURE (Status))
{
return (AE_TYPE);
OpenPOWER on IntegriCloud