aboutsummaryrefslogtreecommitdiff
path: root/sim/rl78/gdb-if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/rl78/gdb-if.c')
-rw-r--r--sim/rl78/gdb-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/rl78/gdb-if.c b/sim/rl78/gdb-if.c
index 8129c09..98bb0a4 100644
--- a/sim/rl78/gdb-if.c
+++ b/sim/rl78/gdb-if.c
@@ -237,7 +237,7 @@ sim_write (SIM_DESC sd, SIM_ADDR mem, const void *buf, int length)
/* Read the LENGTH bytes at BUF as an little-endian value. */
static SI
-get_le (unsigned char *buf, int length)
+get_le (const unsigned char *buf, int length)
{
SI acc = 0;