From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBun3-0007Nw-Bl for qemu-devel@nongnu.org; Sun, 14 Dec 2008 12:30:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBun2-0007Mx-KE for qemu-devel@nongnu.org; Sun, 14 Dec 2008 12:30:00 -0500 Received: from [199.232.76.173] (port=41928 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBun2-0007Mr-Di for qemu-devel@nongnu.org; Sun, 14 Dec 2008 12:30:00 -0500 Received: from savannah.gnu.org ([199.232.41.3]:45742 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LBun2-0006bY-6r for qemu-devel@nongnu.org; Sun, 14 Dec 2008 12:30:00 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LBun1-0002Rn-CB for qemu-devel@nongnu.org; Sun, 14 Dec 2008 17:29:59 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LBun0-0002Rf-Qf for qemu-devel@nongnu.org; Sun, 14 Dec 2008 17:29:59 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Sun, 14 Dec 2008 17:29:58 +0000 Subject: [Qemu-devel] [6029] tcg: kill two warnings 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 Revision: 6029 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6029 Author: aurel32 Date: 2008-12-14 17:29:58 +0000 (Sun, 14 Dec 2008) Log Message: ----------- tcg: kill two warnings Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/tcg/i386/tcg-target.c trunk/tcg/tcg.c Modified: trunk/tcg/i386/tcg-target.c =================================================================== --- trunk/tcg/i386/tcg-target.c 2008-12-14 11:12:28 UTC (rev 6028) +++ trunk/tcg/i386/tcg-target.c 2008-12-14 17:29:58 UTC (rev 6029) @@ -285,7 +285,7 @@ } } -void tcg_out_addi(TCGContext *s, int reg, tcg_target_long val) +static void tcg_out_addi(TCGContext *s, int reg, tcg_target_long val) { if (val != 0) tgen_arithi(s, ARITH_ADD, reg, val); Modified: trunk/tcg/tcg.c =================================================================== --- trunk/tcg/tcg.c 2008-12-14 11:12:28 UTC (rev 6028) +++ trunk/tcg/tcg.c 2008-12-14 17:29:58 UTC (rev 6029) @@ -886,7 +886,7 @@ val = args[1]; th = tcg_find_helper(s, val); if (th) { - fprintf(outfile, th->name); + fprintf(outfile, "%s", th->name); } else { if (c == INDEX_op_movi_i32) fprintf(outfile, "0x%x", (uint32_t)val);