Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi Avoid a strict-alias warning.



details:   https://anonhg.NetBSD.org/src/rev/f8dc5e96982a
branches:  trunk
changeset: 547044:f8dc5e96982a
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sun May 11 21:21:16 2003 +0000

description:
Avoid a strict-alias warning.

diffstat:

 sys/dev/acpi/acpi_madt.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c0514b540d6e -r f8dc5e96982a sys/dev/acpi/acpi_madt.c
--- a/sys/dev/acpi/acpi_madt.c  Sun May 11 21:20:23 2003 +0000
+++ b/sys/dev/acpi/acpi_madt.c  Sun May 11 21:21:16 2003 +0000
@@ -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 @@
                        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



Home | Main Index | Thread Index | Old Index