From ebe7507a64becd389ef2649e188d1afbace1d5bc Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 21 Oct 2001 07:23:24 +0000 Subject: 2001-10-21 H.J. Lu * elf32-cris.c (cris_reloc_type_lookup): Use int for index. --- bfd/ChangeLog | 4 ++++ bfd/elf32-cris.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'bfd') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ee920c4..ae475d3 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 d4d543b..afcd397 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;) -- cgit v1.1