Skip to contentSkip to conversation

tcg-hppa: Fix const errors in hppa-dis.c.

PATCH New Richard Henderson 1 participant 1 message Mar 16, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 tcg-hppa: Fix const errors in hppa-dis.c.

---
 hppa-dis.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
hppa-dis.c +2 -2
index 9d96d72..49f99c8 100644
@@ -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)
 		      {
Signature · 1 line
1.6.6.1