diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2006-04-06 11:45:01 +0000 |
---|---|---|
committer | Bernd Schmidt <bernd.schmidt@analog.com> | 2006-04-06 11:45:01 +0000 |
commit | d236ce008063018f1acef2ef47e7e2c4f162af53 (patch) | |
tree | 9b8e854cc4aadaeb4aa4cc7dd261abda18d70ab3 /bfd/elf32-bfin.c | |
parent | f2cb2cd467f2c4e474e104c9e44781366e75fe3c (diff) | |
download | gdb-d236ce008063018f1acef2ef47e7e2c4f162af53.tar.gz |
* elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts to
eliminate warnings.
Diffstat (limited to 'bfd/elf32-bfin.c')
-rw-r--r-- | bfd/elf32-bfin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c index 8f4dfcfffd0..d5a81dbc605 100644 --- a/bfd/elf32-bfin.c +++ b/bfd/elf32-bfin.c @@ -1284,8 +1284,8 @@ bfinfdpic_relocs_info_hash (const void *entry_) const struct bfinfdpic_relocs_info *entry = entry_; return (entry->symndx == -1 - ? entry->d.h->root.root.hash - : entry->symndx + entry->d.abfd->id * 257) + entry->addend; + ? (long) entry->d.h->root.root.hash + : entry->symndx + (long) entry->d.abfd->id * 257) + entry->addend; } /* Test whether the key fields of two bfinfdpic_relocs_info entries are |