summaryrefslogtreecommitdiff
path: root/src/alpha-dis.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2009-08-30 16:12:41 +0000
committerMatt Turner <mattst88@gmail.com>2009-08-30 16:12:41 +0000
commite1ac89f2a2e4cfd2e31eac41575f318d3e0f74be (patch)
tree1ba1a8bbe02bb450f4e045ca625d7bf2612967f0 /src/alpha-dis.c
parentd47db4643ba5aba34c9bdebb249d55a98c860950 (diff)
Add test suite for determine_slotting.cHEADmaster
git-svn-id: svn://mattst88.com/svn/annotator/trunk@6 b9d43f0c-d947-41e4-9d27-581b740e5c48
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. */