From 6f6d863e8ac98528725397ab85774b7646c26312 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 4 Jan 2005 21:19:16 +0000 Subject: silence real gcc 3.3.5 okay mickey@. --- sys/arch/i386/pci/pcibios.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch/i386') 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 -- cgit v1.2.3