Commit 3476f891ccc3fa128de433845b93e23194444859
1 parent
7487953d
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
Showing
1 changed file
with
2 additions
and
2 deletions
hw/ppc4xx_pci.c
| ... | ... | @@ -314,7 +314,7 @@ static void ppc4xx_pci_save(QEMUFile *f, void *opaque) |
| 314 | 314 | PPC4xxPCIState *controller = opaque; |
| 315 | 315 | int i; |
| 316 | 316 | |
| 317 | - pci_device_save(&controller->pci_dev, f); | |
| 317 | + pci_device_save(controller->pci_dev, f); | |
| 318 | 318 | |
| 319 | 319 | for (i = 0; i < PPC4xx_PCI_NR_PMMS; i++) { |
| 320 | 320 | qemu_put_be32s(f, &controller->pmm[i].la); |
| ... | ... | @@ -337,7 +337,7 @@ static int ppc4xx_pci_load(QEMUFile *f, void *opaque, int version_id) |
| 337 | 337 | if (version_id != 1) |
| 338 | 338 | return -EINVAL; |
| 339 | 339 | |
| 340 | - pci_device_load(&controller->pci_dev, f); | |
| 340 | + pci_device_load(controller->pci_dev, f); | |
| 341 | 341 | |
| 342 | 342 | for (i = 0; i < PPC4xx_PCI_NR_PMMS; i++) { |
| 343 | 343 | qemu_get_be32s(f, &controller->pmm[i].la); | ... | ... |