From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlDjk-0002uF-Gl for qemu-devel@nongnu.org; Wed, 01 Oct 2008 22:16:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlDjj-0002tu-NN for qemu-devel@nongnu.org; Wed, 01 Oct 2008 22:16:16 -0400 Received: from [199.232.76.173] (port=60024 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlDjj-0002tn-Iz for qemu-devel@nongnu.org; Wed, 01 Oct 2008 22:16:15 -0400 Received: from pop-knobcone.atl.sa.earthlink.net ([207.69.195.64]:53091) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlDjj-0001dj-Hj for qemu-devel@nongnu.org; Wed, 01 Oct 2008 22:16:15 -0400 Received: from user-142h2k8.cable.mindspring.com ([72.40.138.136] helo=[192.168.0.90]) by pop-knobcone.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1KlDji-00044j-00 for qemu-devel@nongnu.org; Wed, 01 Oct 2008 22:16:14 -0400 Message-ID: <48E42EED.6040704@earthlink.net> Date: Wed, 01 Oct 2008 22:16:13 -0400 From: Robert Reif MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010508090306040404060105" Subject: [Qemu-devel] [PATCH] sparc32: fix MXCC printf warning Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------010508090306040404060105 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit /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) --------------010508090306040404060105 Content-Type: text/plain; name="mxcc.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mxcc.diff.txt" --- 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); --------------010508090306040404060105--