Fix compile error when LSI_DEBUG is defined
commitb4b2f05403c30a655cd74584a74b2f4e135d4260
authorRyan Harper <ryanh@us.ibm.com>
Fri, 20 Nov 2009 19:55:12 +0000 (20 13:55 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 21:26:00 +0000 (3 15:26 -0600)
tree01e103b5d14f7fa7b1c905e93de27875199b0abf
parent01d86a8544e9c8dd1cf12f66ce850db365c38f25
Fix compile error when LSI_DEBUG is defined

This patch fixes the follow error when LSI_DEBUG is set.

  CC    libhw64/lsi53c895a.o
cc1: warnings being treated as errors
qemu/hw/lsi53c895a.c: In function 'lsi_io_mapfunc':
qemu/hw/lsi53c895a.c:1932: error: format '%08x' expects type 'unsigned int', but argument 2 has type 'pcibus_t'
qemu/hw/lsi53c895a.c: In function 'lsi_ram_mapfunc':
/qemu/hw/lsi53c895a.c:1947: error: format '%08x' expects type 'unsigned int', but argument 2 has type 'pcibus_t'
qemu/hw/lsi53c895a.c: In function 'lsi_mmio_mapfunc':
qemu/hw/lsi53c895a.c:1957: error: format '%08x' expects type 'unsigned int', but argument 2 has type 'pcibus_t'
make[1]: *** [lsi53c895a.o] Error 1
make: *** [subdir-libhw64] Error 2

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/lsi53c895a.c