From 5558e7e691534636afa28f6bf68bfd83530d8054 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 14 Apr 2010 07:38:06 +0000 Subject: sim: constify sim_write source buffer (part 2) As pointed out by Sandra Loosemore, a bunch of targets define sim_write themselves instead of using the common/ code. So constify them too. Signed-off-by: Mike Frysinger --- sim/microblaze/interp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/microblaze/interp.c') 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 (); -- cgit v1.1