* elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 11 May 2005 09:23:43 +0000 (09:23 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 11 May 2005 09:23:43 +0000 (09:23 +0000)
warning.

bfd/ChangeLog
bfd/elf32-i386.c

index a136d2f..5c0b146 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-11  Andreas Schwab  <schwab@suse.de>
+
+       * elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness
+       warning.
+
 2005-05-10  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elf.c (_bfd_elf_make_section_from_shdr): Only check debug
index 3571679..fe2ebc8 100644 (file)
@@ -3443,7 +3443,7 @@ elf_i386_finish_dynamic_sections (bfd *output_bfd,
          if (htab->is_vxworks && !info->shared)
            {
              int num_plts = (htab->splt->size / PLT_ENTRY_SIZE) - 1;
-             char *p;
+             unsigned char *p;
 
              p = htab->srelplt2->contents;
              if (info->shared)