summaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-02 18:06:50 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-02 18:06:50 +0000
commitfcdf0eb9687a7c5ec54cbf46789003d4d92540d5 (patch)
tree884cbcdffff4c850e15d62c01cfc03e365865217 /target-sparc
parent927b4013aef4a55885924451e45dd4f2fc24367f (diff)
downloadqemu-fcdf0eb9687a7c5ec54cbf46789003d4d92540d5.tar.gz
qemu-fcdf0eb9687a7c5ec54cbf46789003d4d92540d5.tar.bz2
qemu-fcdf0eb9687a7c5ec54cbf46789003d4d92540d5.zip
Fix MXCC printf warning (based on patch by Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5393 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/op_helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index d01d9da59c..15a77ef078 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -811,7 +811,7 @@ uint64_t helper_ld_asi(target_ulong addr, int asi, int size, int sign)
break;
}
DPRINTF_MXCC("asi = %d, size = %d, sign = %d, "
- "addr = %08x -> ret = %08x,"
+ "addr = %08x -> ret = %" PRIx64 ","
"addr = %08x\n", asi, size, sign, last_addr, ret, addr);
#ifdef DEBUG_MXCC
dump_mxcc(env);
@@ -1074,8 +1074,8 @@ void helper_st_asi(target_ulong addr, uint64_t val, int asi, int size)
size);
break;
}
- DPRINTF_MXCC("asi = %d, size = %d, addr = %08x, val = %08x\n", asi,
- size, addr, val);
+ DPRINTF_MXCC("asi = %d, size = %d, addr = %08x, val = %" PRIx64 "\n",
+ asi, size, addr, val);
#ifdef DEBUG_MXCC
dump_mxcc(env);
#endif