From 4c9b0de65e1307ef8476455743a5a4d61c8c25d9 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 11 May 2005 09:23:43 +0000 Subject: [PATCH] * elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness warning. --- bfd/ChangeLog | 5 +++++ bfd/elf32-i386.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a136d2f9604..5c0b1469982 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 35716796068..fe2ebc85c44 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) -- 2.30.2