diff options
Diffstat (limited to 'sim/mcore/interp.c')
-rw-r--r-- | sim/mcore/interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/mcore/interp.c b/sim/mcore/interp.c index 082bc4e..8ca2eee 100644 --- a/sim/mcore/interp.c +++ b/sim/mcore/interp.c @@ -1242,7 +1242,7 @@ sim_engine_run (SIM_DESC sd, } static int -mcore_reg_store (SIM_CPU *cpu, int rn, unsigned char *memory, int length) +mcore_reg_store (SIM_CPU *cpu, int rn, const unsigned char *memory, int length) { if (rn < NUM_MCORE_REGS && rn >= 0) { |