bfd_size_type to size_t
[deliverable/binutils-gdb.git] / bfd / archive.c
index 3d5635a9f248a00fd89033cb89e45cfdbc8dedb1..67d1c9e1534b9794435e2c6e4e6e47568c2f3c45 100644 (file)
@@ -212,7 +212,7 @@ _bfd_ar_sizepad (char *p, size_t n, bfd_size_type size)
 bfd_boolean
 _bfd_generic_mkarchive (bfd *abfd)
 {
-  bfd_size_type amt = sizeof (struct artdata);
+  size_t amt = sizeof (struct artdata);
 
   abfd->tdata.aout_ar_data = (struct artdata *) bfd_zalloc (abfd, amt);
   if (bfd_ardata (abfd) == NULL)
@@ -847,7 +847,7 @@ bfd_generic_archive_p (bfd *abfd)
 {
   struct artdata *tdata_hold;
   char armag[SARMAG + 1];
-  bfd_size_type amt;
+  size_t amt;
 
   if (bfd_bread (armag, SARMAG, abfd) != SARMAG)
     {
@@ -1837,7 +1837,7 @@ bfd_ar_hdr_from_filesystem (bfd *abfd, const char *filename, bfd *member)
   struct stat status;
   struct areltdata *ared;
   struct ar_hdr *hdr;
-  bfd_size_type amt;
+  size_t amt;
 
   if (member && (member->flags & BFD_IN_MEMORY) != 0)
     {
@@ -2187,7 +2187,7 @@ _bfd_write_archive_contents (bfd *arch)
 
       while (remaining)
        {
-         unsigned int amt = DEFAULT_BUFFERSIZE;
+         size_t amt = DEFAULT_BUFFERSIZE;
 
          if (amt > remaining)
            amt = remaining;
@@ -2251,7 +2251,7 @@ _bfd_compute_and_write_armap (bfd *arch, unsigned int elength)
   asymbol **syms = NULL;
   long syms_max = 0;
   bfd_boolean ret;
-  bfd_size_type amt;
+  size_t amt;
   static bfd_boolean report_plugin_err = TRUE;
 
   /* Dunno if this is the best place for this info...  */
This page took 0.024344 seconds and 4 git commands to generate.