diff options
Diffstat (limited to 'sim/iq2000/iq2000.c')
-rw-r--r-- | sim/iq2000/iq2000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/iq2000/iq2000.c b/sim/iq2000/iq2000.c index 9b1f4bd..d758867 100644 --- a/sim/iq2000/iq2000.c +++ b/sim/iq2000/iq2000.c @@ -227,7 +227,7 @@ iq2000bf_fetch_register (SIM_CPU *cpu, int nr, unsigned char *buf, int len) } int -iq2000bf_store_register (SIM_CPU *cpu, int nr, unsigned char *buf, int len) +iq2000bf_store_register (SIM_CPU *cpu, int nr, const unsigned char *buf, int len) { if (nr >= GPR0_REGNUM && nr < (GPR0_REGNUM + NR_GPR) |