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