Avoid a strict-alias warning.

This commit is contained in:
fvdl 2003-05-11 21:21:16 +00:00
parent 3d7030e668
commit 26f04d0979
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: acpi_madt.c,v 1.4 2003/01/08 12:33:03 fvdl Exp $ */
/* $NetBSD: acpi_madt.c,v 1.5 2003/05/11 21:21:16 fvdl Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@ -97,7 +97,7 @@ acpi_madt_map(void)
return Status;
if (!strncmp(header.Signature, APIC_SIG, 4)) {
Status = AcpiOsMapMemory(Address.Pointer.Value,
(ACPI_SIZE)header.Length, (void **)&AcpiGbl_MADT);
(ACPI_SIZE)header.Length, (void *)&AcpiGbl_MADT);
if (ACPI_FAILURE (Status))
return Status;
else