aboutsummaryrefslogtreecommitdiff
path: root/sim/microblaze
diff options
context:
space:
mode:
Diffstat (limited to 'sim/microblaze')
-rw-r--r--sim/microblaze/ChangeLog3
-rw-r--r--sim/microblaze/interp.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
new file mode 100644
index 0000000..a03bde8
--- /dev/null
+++ b/sim/microblaze/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/microblaze/interp.c b/sim/microblaze/interp.c
index 044a55b..9769f70 100644
--- a/sim/microblaze/interp.c
+++ b/sim/microblaze/interp.c
@@ -704,7 +704,7 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
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 i;
init_pointers ();