From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrYxE-0005ak-PA for qemu-devel@nongnu.org; Tue, 16 Mar 2010 11:45:12 -0400 Received: from [199.232.76.173] (port=41188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrYxE-0005aK-5O for qemu-devel@nongnu.org; Tue, 16 Mar 2010 11:45:12 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NrYxC-00073J-KZ for qemu-devel@nongnu.org; Tue, 16 Mar 2010 11:45:11 -0400 Received: from are.twiddle.net ([75.149.56.221]:41146) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NrYxB-00072r-LE for qemu-devel@nongnu.org; Tue, 16 Mar 2010 11:45:09 -0400 From: Richard Henderson Message-Id: <20100316154506.2CED7496@are.twiddle.net> Subject: [Qemu-devel] [PATCH 1/4] tcg-hppa: Fix const errors in hppa-dis.c. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 16 Mar 2010 15:45:13 -0000 To: qemu-devel@nongnu.org --- hppa-dis.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hppa-dis.c b/hppa-dis.c index 9d96d72..49f99c8 100644 --- a/hppa-dis.c +++ b/hppa-dis.c @@ -576,7 +576,7 @@ struct pa_opcode const char *name; unsigned long int match; /* Bits that must be set... */ unsigned long int mask; /* ... in these bits. */ - char *args; + const char *args; enum pa_arch arch; char flags; }; @@ -2753,7 +2753,7 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info *info) int sf = GET_FIELD (insn, 19, 20); const char * const * source = float_format_names; const char * const * dest = float_format_names; - char *t = ""; + const char *t = ""; if (sub == 4) { -- 1.6.6.1