aboutsummaryrefslogtreecommitdiff
path: root/sim/or1k/or1k.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/or1k/or1k.c')
-rw-r--r--sim/or1k/or1k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/or1k/or1k.c b/sim/or1k/or1k.c
index bfab354..488d756 100644
--- a/sim/or1k/or1k.c
+++ b/sim/or1k/or1k.c
@@ -55,7 +55,7 @@ or1k32bf_fetch_register (sim_cpu *current_cpu, int rn, unsigned char *buf,
}
int
-or1k32bf_store_register (sim_cpu *current_cpu, int rn, unsigned char *buf,
+or1k32bf_store_register (sim_cpu *current_cpu, int rn, const unsigned char *buf,
int len)
{
if (rn < 32)