summaryrefslogtreecommitdiff
path: root/bfd/coff-x86_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/coff-x86_64.c')
-rw-r--r--bfd/coff-x86_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/coff-x86_64.c b/bfd/coff-x86_64.c
index 928fa7f1fc3..de22822e7b2 100644
--- a/bfd/coff-x86_64.c
+++ b/bfd/coff-x86_64.c
@@ -182,9 +182,9 @@ coff_amd64_reloc (bfd *abfd,
case 4:
{
- long long x = bfd_get_64 (abfd, addr);
+ bfd_uint64_t x = bfd_get_64 (abfd, addr);
DOIT (x);
- bfd_put_64 (abfd, (bfd_vma) x, addr);
+ bfd_put_64 (abfd, x, addr);
}
break;