aboutsummaryrefslogtreecommitdiff
path: root/sim/microblaze
diff options
context:
space:
mode:
Diffstat (limited to 'sim/microblaze')
-rw-r--r--sim/microblaze/interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c
index 6aa0263..1435ecc 100644
--- a/sim/microblaze/interp.c
+++ b/sim/microblaze/interp.c
@@ -321,7 +321,7 @@ sim_engine_run (SIM_DESC sd,
}
static int
-microblaze_reg_store (SIM_CPU *cpu, int rn, unsigned char *memory, int length)
+microblaze_reg_store (SIM_CPU *cpu, int rn, const unsigned char *memory, int length)
{
if (rn < NUM_REGS + NUM_SPECIAL && rn >= 0)
{