diff options
Diffstat (limited to 'sim/rl78/gdb-if.c')
-rw-r--r-- | sim/rl78/gdb-if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/rl78/gdb-if.c b/sim/rl78/gdb-if.c index 98bb0a4..ef6c75d 100644 --- a/sim/rl78/gdb-if.c +++ b/sim/rl78/gdb-if.c @@ -356,7 +356,7 @@ sim_fetch_register (SIM_DESC sd, int regno, unsigned char *buf, int length) LENGTH must match the sim's internal notion of the register size. */ int -sim_store_register (SIM_DESC sd, int regno, unsigned char *buf, int length) +sim_store_register (SIM_DESC sd, int regno, const unsigned char *buf, int length) { size_t size; SI val; |