Work around build breakage with GCC 4.2.

This commit is contained in:
Jung-uk Kim 2013-01-19 00:37:17 +00:00
parent 9f0b6e5e27
commit 10c281ab92
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245636

View File

@ -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);