]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/bpf/bpf.c
sim: reg: constify store helper
[thirdparty/binutils-gdb.git] / sim / bpf / bpf.c
index 4a55acd4992c04ee81983bda3f8c994a51427233..9db61ff56a964a1daebb0b5e00dd494e1b050125 100644 (file)
@@ -61,7 +61,7 @@ bpfbf_fetch_register (SIM_CPU *current_cpu,
 int
 bpfbf_store_register (SIM_CPU *current_cpu,
                       int rn,
-                      unsigned char *buf,
+                      const unsigned char *buf,
                       int len)
 {
   if (rn == 11)