From 615980b39a0eacb05b8d948360c15681e0d8dc03 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 2 Nov 2006 21:39:56 +0000 Subject: [PATCH] * config/tc-h8300.c (build_bytes): Fix const warning. --- gas/ChangeLog | 4 ++++ gas/config/tc-h8300.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 9ae2eb239..a8c93ebca 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2006-11-02 Daniel Jacobowitz + + * config/tc-h8300.c (build_bytes): Fix const warning. + 2006-11-01 Mei Ligang * tc-score.c (do16_rdrs): Handle not! instruction especially. diff --git a/gas/config/tc-h8300.c b/gas/config/tc-h8300.c index 91f58e973..bfea99207 100644 --- a/gas/config/tc-h8300.c +++ b/gas/config/tc-h8300.c @@ -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]; -- 2.11.4.GIT