Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gdb/bfd Rumors say there are archs where int != long.



details:   https://anonhg.NetBSD.org/src/rev/08e9c02be887
branches:  trunk
changeset: 550692:08e9c02be887
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Aug 17 22:17:03 2003 +0000

description:
Rumors say there are archs where int != long.

diffstat:

 gnu/dist/gdb/bfd/elf.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 4b926b961223 -r 08e9c02be887 gnu/dist/gdb/bfd/elf.c
--- a/gnu/dist/gdb/bfd/elf.c    Sun Aug 17 22:12:43 2003 +0000
+++ b/gnu/dist/gdb/bfd/elf.c    Sun Aug 17 22:17:03 2003 +0000
@@ -2319,9 +2319,9 @@
 
   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);
-  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