daily update
[deliverable/binutils-gdb.git] / bfd / bfdio.c
index c142c179cb475b7b6273d4fe7ba73fc4d1721cc0..43a7684d7badefd2a4184efc1c74f1fe7180f614 100644 (file)
@@ -87,7 +87,6 @@ FILE *
 real_fopen (const char *filename, const char *modes)
 {
 #ifdef VMS
-  char vms_modes[4];
   char *vms_attr;
 
   /* On VMS, fopen allows file attributes as optionnal arguments.
@@ -185,7 +184,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.023969 seconds and 4 git commands to generate.