summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2005-05-11 09:23:43 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2005-05-11 09:23:43 +0000
commit4c9b0de65e1307ef8476455743a5a4d61c8c25d9 (patch)
tree7724d02162cd0f27bb3d01e40bec781ff897e095
parentfe09a055181c19698ce867b3cd61a895307e20dc (diff)
* elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness
warning.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-i386.c2
2 files changed, 6 insertions, 1 deletions
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 <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
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)