Commit f654d9e20a9fb1971c6c8fe07c3b9164e9d22926
Committed by
Anthony Liguori
1 parent
d02f7094
Fix hw/acpi.c build w/ DEBUG enabled
Trivial build warning/fixes when the local DEBUG define is enabled. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Avi Kivity <avi@qumranet.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing
1 changed file
with
6 additions
and
6 deletions
hw/acpi.c
... | ... | @@ -609,7 +609,7 @@ static uint32_t gpe_readb(void *opaque, uint32_t addr) |
609 | 609 | } |
610 | 610 | |
611 | 611 | #if defined(DEBUG) |
612 | - printf("gpe read %lx == %lx\n", addr, val); | |
612 | + printf("gpe read %x == %x\n", addr, val); | |
613 | 613 | #endif |
614 | 614 | return val; |
615 | 615 | } |
... | ... | @@ -651,7 +651,7 @@ static void gpe_writeb(void *opaque, uint32_t addr, uint32_t val) |
651 | 651 | } |
652 | 652 | |
653 | 653 | #if defined(DEBUG) |
654 | - printf("gpe write %lx <== %d\n", addr, val); | |
654 | + printf("gpe write %x <== %d\n", addr, val); | |
655 | 655 | #endif |
656 | 656 | } |
657 | 657 | |
... | ... | @@ -671,7 +671,7 @@ static uint32_t pcihotplug_read(void *opaque, uint32_t addr) |
671 | 671 | } |
672 | 672 | |
673 | 673 | #if defined(DEBUG) |
674 | - printf("pcihotplug read %lx == %lx\n", addr, val); | |
674 | + printf("pcihotplug read %x == %x\n", addr, val); | |
675 | 675 | #endif |
676 | 676 | return val; |
677 | 677 | } |
... | ... | @@ -689,14 +689,14 @@ static void pcihotplug_write(void *opaque, uint32_t addr, uint32_t val) |
689 | 689 | } |
690 | 690 | |
691 | 691 | #if defined(DEBUG) |
692 | - printf("pcihotplug write %lx <== %d\n", addr, val); | |
692 | + printf("pcihotplug write %x <== %d\n", addr, val); | |
693 | 693 | #endif |
694 | 694 | } |
695 | 695 | |
696 | 696 | static uint32_t pciej_read(void *opaque, uint32_t addr) |
697 | 697 | { |
698 | 698 | #if defined(DEBUG) |
699 | - printf("pciej read %lx == %lx\n", addr, val); | |
699 | + printf("pciej read %x\n", addr); | |
700 | 700 | #endif |
701 | 701 | return 0; |
702 | 702 | } |
... | ... | @@ -710,7 +710,7 @@ static void pciej_write(void *opaque, uint32_t addr, uint32_t val) |
710 | 710 | #endif |
711 | 711 | |
712 | 712 | #if defined(DEBUG) |
713 | - printf("pciej write %lx <== %d\n", addr, val); | |
713 | + printf("pciej write %x <== %d\n", addr, val); | |
714 | 714 | #endif |
715 | 715 | } |
716 | 716 | ... | ... |