pci: improve signature of pci_register_bar().
commit0bb750ef9e897ba5f4d9899ddc7e222e809bcbbd
authorIsaku Yamahata <yamahata@valinux.co.jp>
Thu, 9 Sep 2010 02:48:57 +0000 (9 11:48 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 13 Sep 2010 19:03:51 +0000 (13 21:03 +0200)
tree6a6d62faa9a4b65ed22297b44e5db4a3b24c4199
parent2bbb9c2f7f36d0457cda5f27d7e4422219b3acd8
pci: improve signature of pci_register_bar().

Make type uint8_t from int because PCIIORegion::type is uint8_t.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
hw/pci.c
hw/pci.h