diff options
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 8f4dfcf..d5a81db 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 |