Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/toolchain/bfd elf_fake_sections: fix cast sh_name.
details: https://anonhg.NetBSD.org/src/rev/c0ecaab9eef2
branches: trunk
changeset: 546955:c0ecaab9eef2
user: petrov <petrov%NetBSD.org@localhost>
date: Fri May 09 22:15:17 2003 +0000
description:
elf_fake_sections: fix cast sh_name.
diffstat:
gnu/dist/toolchain/bfd/elf.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 40c8ece51118 -r c0ecaab9eef2 gnu/dist/toolchain/bfd/elf.c
--- a/gnu/dist/toolchain/bfd/elf.c Fri May 09 20:54:18 2003 +0000
+++ b/gnu/dist/toolchain/bfd/elf.c Fri May 09 22:15:17 2003 +0000
@@ -2319,10 +2319,10 @@
this_hdr = &elf_section_data (asect)->this_hdr;
- this_hdr->sh_name = (unsigned long) _bfd_elf_strtab_add (elf_shstrtab (abfd),
+ this_hdr->sh_name = (unsigned int) _bfd_elf_strtab_add (elf_shstrtab (abfd),
asect->name, false);
/* XXXJRT consider making sh_name a bfd_size_type */
- if (this_hdr->sh_name == (unsigned long) -1)
+ if (this_hdr->sh_name == (unsigned int) -1)
{
*failedptr = true;
return;
Home |
Main Index |
Thread Index |
Old Index