PR binutils/13534
[deliverable/binutils-gdb.git] / bfd / bfdio.c
index c142c179cb475b7b6273d4fe7ba73fc4d1721cc0..6f8a7c9b84d297c3b59d11a2443ae2ac7102e687 100644 (file)
@@ -185,7 +185,8 @@ bfd_bread (void *ptr, bfd_size_type size, bfd *abfd)
      this element.  */
   if (abfd->arelt_data != NULL)
     {
-      size_t maxbytes = arelt_size (abfd);
+      bfd_size_type maxbytes = arelt_size (abfd);
+
       if (abfd->where + size > maxbytes)
         {
           if (abfd->where >= maxbytes)
This page took 0.033588 seconds and 4 git commands to generate.