diff options
Diffstat (limited to 'sim/m32r')
-rw-r--r-- | sim/m32r/m32r.c | 2 | ||||
-rw-r--r-- | sim/m32r/m32r2.c | 2 | ||||
-rw-r--r-- | sim/m32r/m32rx.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sim/m32r/m32r.c b/sim/m32r/m32r.c index 811c2b1..f857369 100644 --- a/sim/m32r/m32r.c +++ b/sim/m32r/m32r.c @@ -98,7 +98,7 @@ m32rbf_fetch_register (SIM_CPU *current_cpu, int rn, unsigned char *buf, int len /* The contents of BUF are in target byte order. */ int -m32rbf_store_register (SIM_CPU *current_cpu, int rn, unsigned char *buf, int len) +m32rbf_store_register (SIM_CPU *current_cpu, int rn, const unsigned char *buf, int len) { int size = m32rbf_register_size (rn); if (len != size) 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); } 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); } |