* elflink.h (elf_link_read_relocs_from_section): Be type-correct.
authorMark Mitchell <mark@codesourcery.com>
Sun, 11 Jul 1999 00:12:14 +0000 (00:12 +0000)
committerMark Mitchell <mark@codesourcery.com>
Sun, 11 Jul 1999 00:12:14 +0000 (00:12 +0000)
bfd/ChangeLog
bfd/elflink.h

index 8245731..c2b99d3 100644 (file)
@@ -1,3 +1,7 @@
+1999-07-11  Mark Mitchell  <mark@codesourcery.com>
+
+       * elflink.h (elf_link_read_relocs_from_section): Be type-correct.
+
 Thu Jul  8 12:32:23 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
 
        * config.bfd (hppa*-*-linux-gnu*): New target
index 057dc5e..db536c9 100644 (file)
@@ -2102,7 +2102,7 @@ elf_link_read_relocs_from_section (abfd, shdr, external_relocs,
                               * sizeof (Elf_Internal_Rel)));
       for (; erel < erelend; erel++, irela += bed->s->int_rels_per_ext_rel)
        {
-         int i;
+         unsigned char i;
 
          if (bed->s->swap_reloc_in)
            (*bed->s->swap_reloc_in) (abfd, (bfd_byte *) erel, irel);