* [Qemu-devel] [PATCH] sparc32: fix MXCC printf warning
@ 2008-10-02 2:16 Robert Reif
2008-10-02 18:09 ` Blue Swirl
0 siblings, 1 reply; 2+ messages in thread
From: Robert Reif @ 2008-10-02 2:16 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
/home/wine/qemu/target-sparc/op_helper.c: In function `helper_ld_asi':
/home/wine/qemu/target-sparc/op_helper.c:813: warning: unsigned int
format, different type arg (arg 6)
/home/wine/qemu/target-sparc/op_helper.c: In function `helper_st_asi':
/home/wine/qemu/target-sparc/op_helper.c:1077: warning: unsigned int
format, different type arg (arg 5)
[-- Attachment #2: mxcc.diff.txt --]
[-- Type: text/plain, Size: 740 bytes --]
--- target-sparc/cpu.h (revision 5391)
+++ target-sparc/cpu.h (working copy)
@@ -811,7 +811,7 @@
break;
}
DPRINTF_MXCC("asi = %d, size = %d, sign = %d, "
- "addr = %08x -> ret = %08x,"
+ "addr = %08x -> ret = %016llx,"
"addr = %08x\n", asi, size, sign, last_addr, ret, addr);
#ifdef DEBUG_MXCC
dump_mxcc(env);
@@ -1074,7 +1074,7 @@
size);
break;
}
- DPRINTF_MXCC("asi = %d, size = %d, addr = %08x, val = %08x\n", asi,
+ DPRINTF_MXCC("asi = %d, size = %d, addr = %08x, val = %016llx\n", asi,
size, addr, val);
#ifdef DEBUG_MXCC
dump_mxcc(env);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-02 18:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-02 2:16 [Qemu-devel] [PATCH] sparc32: fix MXCC printf warning Robert Reif
2008-10-02 18:09 ` Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).