Re: [PATCH v2 2/2] hw/timer/hpet: Fix DPRINTF format string

2020-09-13 Thread Dov Murik
On 13/09/2020 14:40, Philippe Mathieu-Daudé wrote: On 9/12/20 7:40 PM, Dov Murik wrote: Hi Phil, On 10/09/2020 16:58, Philippe Mathieu-Daudé wrote: Fix building with HPET_DEBUG enabled:    hw/timer/hpet.c:512:73: error: format specifies type 'unsigned int' but the argument has type 'uint6

Re: [PATCH v2 2/2] hw/timer/hpet: Fix DPRINTF format string

2020-09-13 Thread Philippe Mathieu-Daudé
On 9/12/20 7:40 PM, Dov Murik wrote: > Hi Phil, > > On 10/09/2020 16:58, Philippe Mathieu-Daudé wrote: >> Fix building with HPET_DEBUG enabled: >> >>    hw/timer/hpet.c:512:73: error: format specifies type 'unsigned int' >> but the argument has type 'uint64_t' (aka 'unsigned long') >> [-Werror,-Wf

Re: [PATCH v2 2/2] hw/timer/hpet: Fix DPRINTF format string

2020-09-12 Thread Dov Murik
Hi Phil, On 10/09/2020 16:58, Philippe Mathieu-Daudé wrote: Fix building with HPET_DEBUG enabled: hw/timer/hpet.c:512:73: error: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat] DPRINTF("qemu: Enter hpet_ram_writel at

[PATCH v2 2/2] hw/timer/hpet: Fix DPRINTF format string

2020-09-10 Thread Philippe Mathieu-Daudé
Fix building with HPET_DEBUG enabled: hw/timer/hpet.c:512:73: error: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat] DPRINTF("qemu: Enter hpet_ram_writel at %" PRIx64 " = %#x\n", addr, value);