summaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-07-11 00:12:14 +0000
committerMark Mitchell <mark@codesourcery.com>1999-07-11 00:12:14 +0000
commit8f1ca160b151932f2eb709ffe4734901b8d3e43f (patch)
tree49183058454fe57166735416444e7cf1617b3a4b /bfd/elflink.h
parentf3101d9b07fd4511542511d1583caf99e33ed22c (diff)
downloadgdb-8f1ca160b151932f2eb709ffe4734901b8d3e43f.tar.gz
* elflink.h (elf_link_read_relocs_from_section): Be type-correct.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 057dc5e92ad..db536c91347 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -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);