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 d5a84d7..873817f 100644
--- a/sim/rx/gdb-if.c
+++ b/sim/rx/gdb-if.c
@@ -245,7 +245,7 @@ sim_read (SIM_DESC sd, SIM_ADDR mem, unsigned char *buf, int length)
}
int
-sim_write (SIM_DESC sd, SIM_ADDR mem, unsigned char *buf, int length)
+sim_write (SIM_DESC sd, SIM_ADDR mem, const unsigned char *buf, int length)
{
int i;