diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-01-04 21:19:16 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-01-04 21:19:16 +0000 |
commit | 6f6d863e8ac98528725397ab85774b7646c26312 (patch) | |
tree | 4080e41a16b79a1fabf5a575bb1b9288edb3abf1 /sys/arch/i386 | |
parent | 9a39dbad38eec14f35f541cef78cd71d69ad695b (diff) |
silence real gcc 3.3.5
okay mickey@.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/pci/pcibios.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pcibios.c b/sys/arch/i386/pci/pcibios.c index 62c010c548f..a579aaf86d4 100644 --- a/sys/arch/i386/pci/pcibios.c +++ b/sys/arch/i386/pci/pcibios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcibios.c,v 1.30 2004/08/09 19:52:06 deraadt Exp $ */ +/* $OpenBSD: pcibios.c,v 1.31 2005/01/04 21:19:15 espie Exp $ */ /* $NetBSD: pcibios.c,v 1.5 2000/08/01 05:23:59 uch Exp $ */ /* @@ -252,7 +252,8 @@ pcibios_pir_init(sc) struct pcibios_pir_header *pirh; int i; - pirh = (struct pcibios_pir_header *)p = ISA_HOLE_VADDR(pa); + p = ISA_HOLE_VADDR(pa); + pirh = (struct pcibios_pir_header *)p; /* * Some laptops (such as the Toshiba Libretto L series) * use _PIR instead of the standard $PIR for the signature |