hw/timer/hpet: Fix debug format strings
commit931c1d48e5e4a6c0a38476da49ed21ef6260fe45
authorDov Murik <dovmurik@linux.vnet.ibm.com>
Wed, 9 Sep 2020 08:36:50 +0000 (9 08:36 +0000)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 16 Sep 2020 09:14:29 +0000 (16 11:14 +0200)
tree130d3879313ff23d2a0f235877e4e6b53e7f05ab
parentd6892f12a5c5ca258b85dfc4d210e7604b0e3dcf
hw/timer/hpet: Fix debug format strings

Fix compiler errors when compiling with -DHPET_DEBUG due to mismatch
between format string token "%x" and the argument type uint64_t.

Also "%#x" is replaced by "0x%" PRIx64 according to the coding style.

Signed-off-by: Dov Murik <dovmurik@linux.vnet.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200909083650.46771-3-dovmurik@linux.vnet.ibm.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/timer/hpet.c