aboutsummaryrefslogtreecommitdiff
path: root/sim/aarch64/interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/aarch64/interp.c')
-rw-r--r--sim/aarch64/interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/aarch64/interp.c b/sim/aarch64/interp.c
index a04f1dc..ac95c7d 100644
--- a/sim/aarch64/interp.c
+++ b/sim/aarch64/interp.c
@@ -171,7 +171,7 @@ sim_create_inferior (SIM_DESC sd, struct bfd *abfd,
/* Read the LENGTH bytes at BUF as a little-endian value. */
static bfd_vma
-get_le (unsigned char *buf, unsigned int length)
+get_le (const unsigned char *buf, unsigned int length)
{
bfd_vma acc = 0;