aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/machs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bfin/machs.c')
-rw-r--r--sim/bfin/machs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/bfin/machs.c b/sim/bfin/machs.c
index f322b18..035eb31 100644
--- a/sim/bfin/machs.c
+++ b/sim/bfin/machs.c
@@ -1881,7 +1881,7 @@ bfin_reg_fetch (SIM_CPU *cpu, int rn, unsigned char *buf, int len)
}
static int
-bfin_reg_store (SIM_CPU *cpu, int rn, unsigned char *buf, int len)
+bfin_reg_store (SIM_CPU *cpu, int rn, const unsigned char *buf, int len)
{
bu32 value, *reg;