aboutsummaryrefslogtreecommitdiff
path: root/opcodes/dis-buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/dis-buf.c')
-rw-r--r--opcodes/dis-buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/dis-buf.c b/opcodes/dis-buf.c
index 7c5d9ad..eb03e62 100644
--- a/opcodes/dis-buf.c
+++ b/opcodes/dis-buf.c
@@ -33,7 +33,7 @@ buffer_read_memory (bfd_vma memaddr,
{
unsigned int opb = info->octets_per_byte;
unsigned int end_addr_offset = length / opb;
- unsigned int max_addr_offset = info->buffer_length / opb;
+ unsigned int max_addr_offset = info->buffer_length / opb;
unsigned int octets = (memaddr - info->buffer_vma) * opb;
if (memaddr < info->buffer_vma