This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix h8300 gas build


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];


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]