aboutsummaryrefslogtreecommitdiff
path: root/sim/ft32/interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ft32/interp.c')
-rw-r--r--sim/ft32/interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ft32/interp.c b/sim/ft32/interp.c
index 70212f4..65c7141 100644
--- a/sim/ft32/interp.c
+++ b/sim/ft32/interp.c
@@ -745,7 +745,7 @@ ft32_lookup_register (SIM_CPU *cpu, int nr)
static int
ft32_reg_store (SIM_CPU *cpu,
int rn,
- unsigned char *memory,
+ const unsigned char *memory,
int length)
{
if (0 <= rn && rn <= 32)