aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r/m32rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32r/m32rx.c')
-rw-r--r--sim/m32r/m32rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/m32r/m32rx.c b/sim/m32r/m32rx.c
index 0709803..deafcbe 100644
--- a/sim/m32r/m32rx.c
+++ b/sim/m32r/m32rx.c
@@ -38,7 +38,7 @@ m32rxf_fetch_register (SIM_CPU *current_cpu, int rn, unsigned char *buf, int len
/* The contents of BUF are in target byte order. */
int
-m32rxf_store_register (SIM_CPU *current_cpu, int rn, unsigned char *buf, int len)
+m32rxf_store_register (SIM_CPU *current_cpu, int rn, const unsigned char *buf, int len)
{
return m32rbf_store_register (current_cpu, rn, buf, len);
}