Fix h8300 gas build

Daniel Jacobowitz drow@false.org
Thu Nov 2 21:40:00 GMT 2006


Committed as obvious.

-- 
Daniel Jacobowitz
CodeSourcery

2006-11-02  Daniel Jacobowitz  <dan@codesourcery.com>

	* config/tc-h8300.c (build_bytes): Fix const warning.

Index: gas/config/tc-h8300.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-h8300.c,v
retrieving revision 1.52
diff -u -p -r1.52 tc-h8300.c
--- gas/config/tc-h8300.c	7 Jun 2006 11:27:57 -0000	1.52
+++ gas/config/tc-h8300.c	2 Nov 2006 21:39:14 -0000
@@ -1389,7 +1389,7 @@ build_bytes (const struct h8_instruction
 {
   int i;
   char *output = frag_more (this_try->length);
-  op_type *nibble_ptr = this_try->opcode->data.nib;
+  const op_type *nibble_ptr = this_try->opcode->data.nib;
   op_type c;
   unsigned int nibble_count = 0;
   int op_at[3];



More information about the Binutils mailing list