summaryrefslogtreecommitdiff
path: root/bfd/ecoffswap.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-05-07 09:15:26 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-05-07 09:15:26 +0000
commit1256e84b3c6ed300babd95300c69b5aa6ccab574 (patch)
tree588c439704108e34bb95423a3283335cb581766b /bfd/ecoffswap.h
parent85e25016a83144db3c1558350a82f45b3559aa7b (diff)
downloadgdb-1256e84b3c6ed300babd95300c69b5aa6ccab574.tar.gz
* ecoff.c (bfd_debug_section): Fix initialization.
* elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it is always a positive integer. Cast away sign mismatch. * elf32-mips.c: Fix misleading comment and typo. (_bfd_mips_elf_section_from_bfd_section): Remove unused attribute, use correct data type. * elflink.c: Fix typo. (_bfd_elf_create_dynamic_sections): Remove superfluous initialization. * ecoffswap.h (ecoff_swap_fdr_in): Cast away sign mismatch.
Diffstat (limited to 'bfd/ecoffswap.h')
-rw-r--r--bfd/ecoffswap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/ecoffswap.h b/bfd/ecoffswap.h
index daa61cb13c3..dd6fa6f32a0 100644
--- a/bfd/ecoffswap.h
+++ b/bfd/ecoffswap.h
@@ -196,7 +196,7 @@ ecoff_swap_fdr_in (abfd, ext_copy, intern)
intern->adr = ecoff_get_off (abfd, (bfd_byte *)ext->f_adr);
intern->rss = bfd_h_get_32 (abfd, (bfd_byte *)ext->f_rss);
#if defined (ECOFF_64) || defined (ECOFF_SIGNED_64)
- if (intern->rss == 0xffffffff)
+ if (intern->rss == (signed long) 0xffffffff)
intern->rss = -1;
#endif
intern->issBase = bfd_h_get_32 (abfd, (bfd_byte *)ext->f_issBase);