diff options
Diffstat (limited to 'sim/moxie')
-rw-r--r-- | sim/moxie/ChangeLog | 4 | ||||
-rw-r--r-- | sim/moxie/interp.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index 043927d..7bd8610 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,7 @@ +2010-04-14 Mike Frysinger <vapier@gentoo.org> + + * interp.c (sim_write): Add const to buffer arg. + 2010-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> * interp.c (sim_create_inferior): Fix crashes on zero PROG_BFD or ARGV. diff --git a/sim/moxie/interp.c b/sim/moxie/interp.c index 079ef9b..a031c59 100644 --- a/sim/moxie/interp.c +++ b/sim/moxie/interp.c @@ -1028,7 +1028,7 @@ int sim_write (sd, addr, buffer, size) SIM_DESC sd; SIM_ADDR addr; - unsigned char * buffer; + const unsigned char * buffer; int size; { sim_cpu *scpu = STATE_CPU (sd, 0); /* FIXME */ |