]> git.proxmox.com Git - qemu.git/commit - hw/char/sh_serial.c
hw/sh_serial: Use TARGET_PRIxPHYS rather than %x for physaddr
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 25 Jun 2012 15:52:23 +0000 (16:52 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 14 Jul 2012 10:37:01 +0000 (10:37 +0000)
commitc1950a4e95c57c47a74d010c7c0727320ef2a550
tree1b5a1d47086c6cb1fc3aca9d970a2aeaf4b914f2
parentcdb30d446f6a643c48c4a6a8ecc5d9eb7c6d6647
hw/sh_serial: Use TARGET_PRIxPHYS rather than %x for physaddr

Switch a format string from %x to TARGET_PRIxPHYS so that it will
continue to work even if target_phys_addr_t is changed
to 64 bits in the future.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/sh_serial.c