aboutsummaryrefslogtreecommitdiff
path: root/sim/rx/gdb-if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/rx/gdb-if.c')
-rw-r--r--sim/rx/gdb-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c
index 7af37b9..20bb9ef 100644
--- a/sim/rx/gdb-if.c
+++ b/sim/rx/gdb-if.c
@@ -532,7 +532,7 @@ sim_fetch_register (SIM_DESC sd, int regno, unsigned char *buf, int length)
}
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;
DI val;