From: H.J. Lu Date: Sun, 21 Oct 2001 07:23:24 +0000 (+0000) Subject: 2001-10-21 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebe7507a64becd389ef2649e188d1afbace1d5bc;p=binutils-gdb.git 2001-10-21 H.J. Lu * elf32-cris.c (cris_reloc_type_lookup): Use int for index. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ee920c4db7f..ae475d3d5e6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2001-10-21 H.J. Lu + + * elf32-cris.c (cris_reloc_type_lookup): Use int for index. + 2001-10-20 H.J. Lu * configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c index d4d543bd17f..afcd397d761 100644 --- a/bfd/elf32-cris.c +++ b/bfd/elf32-cris.c @@ -437,7 +437,7 @@ cris_reloc_type_lookup (abfd, code) bfd * abfd ATTRIBUTE_UNUSED; bfd_reloc_code_real_type code; { - unsigned int i; + int i; for (i = sizeof (cris_reloc_map) / sizeof (cris_reloc_map[0]); --i >= 0;)