summaryrefslogtreecommitdiff
path: root/src/alpha-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alpha-dis.c')
-rw-r--r--src/alpha-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alpha-dis.c b/src/alpha-dis.c
index 8b7a6fa..72e70e4 100644
--- a/src/alpha-dis.c
+++ b/src/alpha-dis.c
@@ -109,7 +109,7 @@ print_insn_alpha (memaddr, info)
(*info->memory_error_func) (status, memaddr, info);
return -1;
}
- insn = bfd_getl32 (buffer);
+ memcpy(&insn, buffer, 4);
}
/* Get the major opcode of the instruction. */