* 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 8245731993b07b65589369b93ed7a916a259c2d1..c2b99d398a853de0d40523d522d466efdc1ff674 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 057dc5e92ad3f31dcfc4ac1699057a36314dbf47..db536c913478fdfe4bd43eab92a3f2de005922c9 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);