int10: warning fix
helper_exec.c: In function 'pciCfg1in': helper_exec.c:507:4: warning: passing argument 2 of 'pci_device_cfg_read_u32' from incompatible pointer type /usr/include/pciaccess.h:153:5: note: expected 'uint32_t *' but argument is of type 'CARD32 *' Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
be186586e5
commit
f1b7c9cead
|
@ -504,7 +504,7 @@ pciCfg1in(CARD16 addr, CARD32 *val)
|
|||
}
|
||||
if (addr == 0xCFC) {
|
||||
pci_device_cfg_read_u32(pci_device_for_cfg_address(PciCfg1Addr),
|
||||
val, PCI_OFFSET(PciCfg1Addr));
|
||||
(uint32_t *)val, PCI_OFFSET(PciCfg1Addr));
|
||||
if (PRINT_PORT && DEBUG_IO_TRACE())
|
||||
ErrorF(" cfg_inl(%#lx) = %8.8lx\n", PciCfg1Addr, *val);
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user