diff options
Diffstat (limited to 'sim/m32r/m32r.c')
-rw-r--r-- | sim/m32r/m32r.c | 2 |
1 files changed, 1 insertions, 1 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) |