diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-05 16:05:32 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-05 16:05:32 +0000 |
commit | 3476f891ccc3fa128de433845b93e23194444859 (patch) | |
tree | ca5db460816692ebcd796bc14fa1bec3ec4cbda7 /hw/ppc4xx_pci.c | |
parent | 7487953d704369c7acc7486f09eaf87faa5d3693 (diff) | |
download | qemu-3476f891ccc3fa128de433845b93e23194444859.zip qemu-3476f891ccc3fa128de433845b93e23194444859.tar.gz qemu-3476f891ccc3fa128de433845b93e23194444859.tar.bz2 |
hw/ppc4xx_pci.c: kill two warnings
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5883 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc4xx_pci.c')
-rw-r--r-- | hw/ppc4xx_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ppc4xx_pci.c b/hw/ppc4xx_pci.c index c76ec19..bfd2f3e 100644 --- a/hw/ppc4xx_pci.c +++ b/hw/ppc4xx_pci.c @@ -314,7 +314,7 @@ static void ppc4xx_pci_save(QEMUFile *f, void *opaque) PPC4xxPCIState *controller = opaque; int i; - pci_device_save(&controller->pci_dev, f); + pci_device_save(controller->pci_dev, f); for (i = 0; i < PPC4xx_PCI_NR_PMMS; i++) { qemu_put_be32s(f, &controller->pmm[i].la); @@ -337,7 +337,7 @@ static int ppc4xx_pci_load(QEMUFile *f, void *opaque, int version_id) if (version_id != 1) return -EINVAL; - pci_device_load(&controller->pci_dev, f); + pci_device_load(controller->pci_dev, f); for (i = 0; i < PPC4xx_PCI_NR_PMMS; i++) { qemu_get_be32s(f, &controller->pmm[i].la); |