summaryrefslogtreecommitdiff
path: root/bfd/coff-i860.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/coff-i860.c')
-rw-r--r--bfd/coff-i860.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/coff-i860.c b/bfd/coff-i860.c
index 2bba55da9b4..1355d49d582 100644
--- a/bfd/coff-i860.c
+++ b/bfd/coff-i860.c
@@ -114,7 +114,7 @@ coff_i860_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd,
{
short x = bfd_get_16 (abfd, addr);
DOIT (x);
- bfd_put_16 (abfd, x, addr);
+ bfd_put_16 (abfd, (bfd_vma) x, addr);
}
break;
@@ -122,7 +122,7 @@ coff_i860_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd,
{
long x = bfd_get_32 (abfd, addr);
DOIT (x);
- bfd_put_32 (abfd, x, addr);
+ bfd_put_32 (abfd, (bfd_vma) x, addr);
}
break;