* config/tc-h8300.c (build_bytes): Fix const warning.
authorDaniel Jacobowitz <drow@false.org>
Thu, 2 Nov 2006 21:39:56 +0000 (21:39 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 2 Nov 2006 21:39:56 +0000 (21:39 +0000)
gas/ChangeLog
gas/config/tc-h8300.c

index 9ae2eb2391679ef7b86c3c0d800e52222b4ef585..a8c93ebca0971a54749a7f2a2f302cbf822c150c 100644 (file)
@@ -1,3 +1,7 @@
+2006-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/tc-h8300.c (build_bytes): Fix const warning.
+
 2006-11-01  Mei Ligang  <ligang@sunnorth.com.cn>
 
        * tc-score.c (do16_rdrs): Handle not! instruction especially.
index 91f58e973076da59fa48afcb05b7acf08b62c0d2..bfea992076202aeac1decfab5ee7d3b626cb6614 100644 (file)
@@ -1389,7 +1389,7 @@ build_bytes (const struct h8_instruction *this_try, struct h8_op *operand)
 {
   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];