aboutsummaryrefslogtreecommitdiff
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
commit65388f2d50331d138183307a91ebaa50ef608006 (patch)
treea73a51b1b509dc6980de4114fd6f9c14d72834eb /bfd/elflink.h
parente0accf0cb874d9408a621c36dfe2db2959245612 (diff)
downloadgdb-65388f2d50331d138183307a91ebaa50ef608006.zip
gdb-65388f2d50331d138183307a91ebaa50ef608006.tar.gz
gdb-65388f2d50331d138183307a91ebaa50ef608006.tar.bz2
* 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 057dc5e..db536c9 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);