2001-10-21 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 21 Oct 2001 07:23:24 +0000 (07:23 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 21 Oct 2001 07:23:24 +0000 (07:23 +0000)
* elf32-cris.c (cris_reloc_type_lookup): Use int for index.

bfd/ChangeLog
bfd/elf32-cris.c

index ee920c4..ae475d3 100644 (file)
@@ -1,3 +1,7 @@
+2001-10-21  H.J. Lu <hjl@gnu.org>
+
+       * elf32-cris.c (cris_reloc_type_lookup): Use int for index.
+
 2001-10-20  H.J. Lu <hjl@gnu.org>
 
        * configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
index d4d543b..afcd397 100644 (file)
@@ -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;)