diff options
author | jkim <jkim@FreeBSD.org> | 2013-01-19 00:37:17 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-01-19 00:37:17 +0000 |
commit | a1e34841434a947a5784c4c395e887c0faa16543 (patch) | |
tree | cc757f584e14f5736657ed059de1d72e3355c80b /sys | |
parent | af6f5a9a49588b666aad0f55b12889c28fd6ac6d (diff) | |
download | FreeBSD-src-a1e34841434a947a5784c4c395e887c0faa16543.zip FreeBSD-src-a1e34841434a947a5784c4c395e887c0faa16543.tar.gz |
Work around build breakage with GCC 4.2.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/contrib/dev/acpica/components/disassembler/dmresrc.c | 2 |
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); |