]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/or1k/or1k.c
sim: reg: constify store helper
[thirdparty/binutils-gdb.git] / sim / or1k / or1k.c
index bfab35461bee1457fe8f42179ac6d27f5ad46b96..488d756e7c0fb48956f230416ba560202cacdcc7 100644 (file)
@@ -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)