From: Alex W. <ale...@hp...> - 2008-05-14 16:40:16
|
Trivial build warning/fixes when the local DEBUG define is enabled. Signed-off-by: Alex Williamson <ale...@hp...> -- diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c index c4419c4..c305702 100644 --- a/qemu/hw/acpi.c +++ b/qemu/hw/acpi.c @@ -586,7 +586,7 @@ static uint32_t gpe_readb(void *opaque, uint32_t addr) } #if defined(DEBUG) - printf("gpe read %lx == %lx\n", addr, val); + printf("gpe read %x == %x\n", addr, val); #endif return val; } @@ -619,7 +619,7 @@ static void gpe_writeb(void *opaque, uint32_t addr, uint32_t val) } #if defined(DEBUG) - printf("gpe write %lx <== %d\n", addr, val); + printf("gpe write %x <== %d\n", addr, val); #endif } @@ -639,7 +639,7 @@ static uint32_t pcihotplug_read(void *opaque, uint32_t addr) } #if defined(DEBUG) - printf("pcihotplug read %lx == %lx\n", addr, val); + printf("pcihotplug read %x == %x\n", addr, val); #endif return val; } @@ -657,14 +657,14 @@ static void pcihotplug_write(void *opaque, uint32_t addr, uint32_t val) } #if defined(DEBUG) - printf("pcihotplug write %lx <== %d\n", addr, val); + printf("pcihotplug write %x <== %d\n", addr, val); #endif } static uint32_t pciej_read(void *opaque, uint32_t addr) { #if defined(DEBUG) - printf("pciej read %lx == %lx\n", addr, val); + printf("pciej read %x\n", addr); #endif return 0; } @@ -676,7 +676,7 @@ static void pciej_write(void *opaque, uint32_t addr, uint32_t val) device_hot_remove_success(0, slot); #if defined(DEBUG) - printf("pciej write %lx <== %d\n", addr, val); + printf("pciej write %x <== %d\n", addr, val); #endif } |