summaryrefslogtreecommitdiff
path: root/src/devices/pci_rom.c
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-04-21 20:14:31 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-04-21 20:14:31 +0000
commit16cdbb244cded6f3d8df719b7a0217fdf6bf327d (patch)
tree7bfdc4f7a31c5500d34d57a267249fe994eb9362 /src/devices/pci_rom.c
parent5cda45d5ec2dc2b112cb7ec1a95b861f1fa9fd2b (diff)
downloadcoreboot-16cdbb244cded6f3d8df719b7a0217fdf6bf327d.tar.xz
Eliminate various issues brought up by scan-build.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4152 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/pci_rom.c')
-rw-r--r--src/devices/pci_rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/pci_rom.c b/src/devices/pci_rom.c
index 5df13a4214..e628161cf6 100644
--- a/src/devices/pci_rom.c
+++ b/src/devices/pci_rom.c
@@ -42,7 +42,7 @@ struct rom_header * pci_rom_probe(struct device *dev)
printk_debug("In cbfs, rom address for %s = %lx\n",
dev_path(dev), rom_address);
if (v) {
- dev->rom_address = v;
+ dev->rom_address = (u32)v;
dev->on_mainboard = 1;
}
}