[PATCH v2] binutils: arm: Fix disassembly of conditional VDUPs.
[deliverable/binutils-gdb.git] / opcodes / dis-buf.c
index d46c7720a0aeb83e29822164bd24be0d217a8845..19e3a6a0f7c69afb98d3fc1e98d3d614f94fadfc 100644 (file)
@@ -1,5 +1,5 @@
 /* Disassemble from a buffer, for GNU.
-   Copyright (C) 1993-2016 Free Software Foundation, Inc.
+   Copyright (C) 1993-2020 Free Software Foundation, Inc.
 
    This file is part of the GNU opcodes library.
 
@@ -32,9 +32,9 @@ buffer_read_memory (bfd_vma memaddr,
                    struct disassemble_info *info)
 {
   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 octets = (memaddr - info->buffer_vma) * opb;
+  size_t end_addr_offset = length / opb;
+  size_t max_addr_offset = info->buffer_length / opb;
+  size_t octets = (memaddr - info->buffer_vma) * opb;
 
   if (memaddr < info->buffer_vma
       || memaddr - info->buffer_vma > max_addr_offset
This page took 0.023759 seconds and 4 git commands to generate.