aboutsummaryrefslogtreecommitdiff
path: root/sim/lm32/lm32.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/lm32/lm32.c')
-rw-r--r--sim/lm32/lm32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/lm32/lm32.c b/sim/lm32/lm32.c
index 3ca8624..e8e8386 100644
--- a/sim/lm32/lm32.c
+++ b/sim/lm32/lm32.c
@@ -52,7 +52,7 @@ lm32bf_fetch_register (SIM_CPU * current_cpu, int rn, unsigned char *buf,
/* The contents of BUF are in target byte order. */
int
-lm32bf_store_register (SIM_CPU * current_cpu, int rn, unsigned char *buf,
+lm32bf_store_register (SIM_CPU * current_cpu, int rn, const unsigned char *buf,
int len)
{
if (rn < 32)