From e1ac89f2a2e4cfd2e31eac41575f318d3e0f74be Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 30 Aug 2009 16:12:41 +0000 Subject: Add test suite for determine_slotting.c git-svn-id: svn://mattst88.com/svn/annotator/trunk@6 b9d43f0c-d947-41e4-9d27-581b740e5c48 --- src/alpha-dis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/alpha-dis.c') 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. */ -- cgit v1.2.3