diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2005-05-11 09:23:43 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2005-05-11 09:23:43 +0000 |
commit | 4c9b0de65e1307ef8476455743a5a4d61c8c25d9 (patch) | |
tree | 7724d02162cd0f27bb3d01e40bec781ff897e095 /bfd | |
parent | fe09a055181c19698ce867b3cd61a895307e20dc (diff) | |
download | gdb-4c9b0de65e1307ef8476455743a5a4d61c8c25d9.zip gdb-4c9b0de65e1307ef8476455743a5a4d61c8c25d9.tar.gz gdb-4c9b0de65e1307ef8476455743a5a4d61c8c25d9.tar.bz2 |
* elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness
warning.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-i386.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a136d2f..5c0b146 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 3571679..fe2ebc8 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) |