From 26f04d09791e6ccf823bb502ee7bf4bf04ada860 Mon Sep 17 00:00:00 2001 From: fvdl Date: Sun, 11 May 2003 21:21:16 +0000 Subject: [PATCH] Avoid a strict-alias warning. --- sys/dev/acpi/acpi_madt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/acpi/acpi_madt.c b/sys/dev/acpi/acpi_madt.c index be2c1dfc7851..529262ab496f 100644 --- a/sys/dev/acpi/acpi_madt.c +++ b/sys/dev/acpi/acpi_madt.c @@ -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