aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-05-27 14:37:09 +0900
committerBlue Swirl <blauwirbel@gmail.com>2010-06-10 16:49:28 +0000
commitbd418d90d0c67d7ea88420c6754a4677c09f91c1 (patch)
treeabb9a4e1c2d93e3abb61a3205d646731f561200c /hw/qdev.c
parentfe7f9567a6934566641751df233cb45675a9130c (diff)
downloadqemu-bd418d90d0c67d7ea88420c6754a4677c09f91c1.zip
qemu-bd418d90d0c67d7ea88420c6754a4677c09f91c1.tar.gz
qemu-bd418d90d0c67d7ea88420c6754a4677c09f91c1.tar.bz2
multiboot: compilation fix with DEBUG_MULTIBOOT enabled.
This patch fixes the following compilation errors in multiboot.c when DEBUG_MULTIBOOT is defined. Use TARGET_FMT_plx instead of %x for target_phys_addr_t. CC i386-softmmu/multiboot.o cc1: warnings being treated as errors qemu/hw/multiboot.c: In function 'mb_add_mod': qemu/hw/multiboot.c:121: error: format '%08x' expects type 'unsigned int', but argument 4 has type 'target_phys_addr_t' qemu/hw/multiboot.c:121: error: format '%08x' expects type 'unsigned int', but argument 5 has type 'target_phys_addr_t' qemu/hw/multiboot.c: In function 'load_multiboot': qemu/hw/multiboot.c:279: error: format '%#x' expects type 'unsigned int', but argument 5 has type 'target_phys_addr_t' qemu/hw/multiboot.c:307: error: format '%x' expects type 'unsigned int', but argument 3 has type 'target_phys_addr_t' qemu/hw/multiboot.c:308: error: format '%x' expects type 'unsigned int', but argument 3 has type 'target_phys_addr_t' make[1]: *** [multiboot.o] Error 1 Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/qdev.c')
0 files changed, 0 insertions, 0 deletions