2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>

* compile.c: Add const to remove warning.
This commit is contained in:
Joel Sherrill
2008-12-01 16:10:45 +00:00
parent b76dfd93dd
commit c4212d37ab
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* compile.c: Add const to remove warning.
2008-07-11 Hans-Peter Nilsson <hp@axis.com> 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
* configure: Regenerate to track ../common/common.m4 changes. * configure: Regenerate to track ../common/common.m4 changes.

View File

@ -599,7 +599,7 @@ decode (SIM_DESC sd, int addr, unsigned char *data, decoded_inst *dst)
/* Find the exact opcode/arg combo. */ /* Find the exact opcode/arg combo. */
for (q = h8_opcodes; q->name; q++) for (q = h8_opcodes; q->name; q++)
{ {
op_type *nib = q->data.nib; const op_type *nib = q->data.nib;
unsigned int len = 0; unsigned int len = 0;
if ((q->available == AV_H8SX && !h8300sxmode) || if ((q->available == AV_H8SX && !h8300sxmode) ||
@ -924,7 +924,7 @@ decode (SIM_DESC sd, int addr, unsigned char *data, decoded_inst *dst)
#endif #endif
/* Fill in the args. */ /* Fill in the args. */
{ {
op_type *args = q->args.nib; const op_type *args = q->args.nib;
int hadone = 0; int hadone = 0;
int nargs; int nargs;