aboutsummaryrefslogtreecommitdiff
path: root/sim/avr
diff options
context:
space:
mode:
Diffstat (limited to 'sim/avr')
-rw-r--r--sim/avr/ChangeLog3
-rw-r--r--sim/avr/interp.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
new file mode 100644
index 0000000..a03bde8
--- /dev/null
+++ b/sim/avr/ChangeLog
@@ -0,0 +1,3 @@
+2010-04-14 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (sim_write): Add const to buffer arg.
diff --git a/sim/avr/interp.c b/sim/avr/interp.c
index de94f2c..e297c77 100644
--- a/sim/avr/interp.c
+++ b/sim/avr/interp.c
@@ -1622,7 +1622,7 @@ sim_trace (SIM_DESC sd)
}
int
-sim_write (SIM_DESC sd, SIM_ADDR addr, unsigned char *buffer, int size)
+sim_write (SIM_DESC sd, SIM_ADDR addr, const unsigned char *buffer, int size)
{
int osize = size;