aboutsummaryrefslogtreecommitdiff
path: root/hw/apb_pci.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-05-12 20:34:39 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-05-12 19:20:11 +0000
commit113c61069cb46f871f9c976f6b99097ec3a3cb8f (patch)
tree6bfa4cc9b074372a01a2f768f397e98eb25457d0 /hw/apb_pci.c
parenta72b517756cdced088f311367d5bfc0c352623fb (diff)
downloadqemu-113c61069cb46f871f9c976f6b99097ec3a3cb8f.zip
qemu-113c61069cb46f871f9c976f6b99097ec3a3cb8f.tar.gz
qemu-113c61069cb46f871f9c976f6b99097ec3a3cb8f.tar.bz2
target-sparc: Fix wrong printf argument
cpu_get_ccr() returns a target_ulong, so a type cast is needed to avoid wrong output on big endian hosts. We could also use TARGET_FMT_lx, but that would print 8 instead of 2 digits. Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/apb_pci.c')
0 files changed, 0 insertions, 0 deletions