diff options
Diffstat (limited to 'sim/m32c/gdb-if.c')
-rw-r--r-- | sim/m32c/gdb-if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/m32c/gdb-if.c b/sim/m32c/gdb-if.c index 8bb8e9b..802eae9 100644 --- a/sim/m32c/gdb-if.c +++ b/sim/m32c/gdb-if.c @@ -184,7 +184,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 DI -get_le (unsigned char *buf, int length) +get_le (const unsigned char *buf, int length) { DI acc = 0; while (--length >= 0) |