From: Robert Reif <reif@earthlink.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] sparc32: fix MXCC printf warning
Date: Wed, 01 Oct 2008 22:16:13 -0400 [thread overview]
Message-ID: <48E42EED.6040704@earthlink.net> (raw)
[-- 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);
next reply other threads:[~2008-10-02 2:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-02 2:16 Robert Reif [this message]
2008-10-02 18:09 ` [Qemu-devel] [PATCH] sparc32: fix MXCC printf warning Blue Swirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48E42EED.6040704@earthlink.net \
--to=reif@earthlink.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).