diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-11-02 21:39:56 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-11-02 21:39:56 +0000 |
commit | d1e50f8a7ecfabc19c7c72927ff98791a47d2d93 (patch) | |
tree | ba746d63b20c7ee5626c1a160d94df61d6ed793b /gas | |
parent | 31ffec4870b73c7eadab3f98bc777d5c0fb2dd6a (diff) | |
download | gdb-d1e50f8a7ecfabc19c7c72927ff98791a47d2d93.zip gdb-d1e50f8a7ecfabc19c7c72927ff98791a47d2d93.tar.gz gdb-d1e50f8a7ecfabc19c7c72927ff98791a47d2d93.tar.bz2 |
* config/tc-h8300.c (build_bytes): Fix const warning.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-h8300.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 9ae2eb2..a8c93eb 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/config/tc-h8300.c b/gas/config/tc-h8300.c index 91f58e9..bfea992 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]; |