From: Andreas Schwab Date: Wed, 11 May 2005 09:23:43 +0000 (+0000) Subject: * elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=4c9b0de65e1307ef8476455743a5a4d61c8c25d9;p=deliverable%2Fbinutils-gdb.git * elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness warning. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a136d2f960..5c0b146998 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-05-11 Andreas Schwab + + * elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness + warning. + 2005-05-10 H.J. Lu * elf.c (_bfd_elf_make_section_from_shdr): Only check debug diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 3571679606..fe2ebc85c4 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -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)