aboutsummaryrefslogtreecommitdiff
path: root/bfd/cofflink.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/cofflink.c')
-rw-r--r--bfd/cofflink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c
index e6dcd88..7e40bd9 100644
--- a/bfd/cofflink.c
+++ b/bfd/cofflink.c
@@ -1829,7 +1829,7 @@ _bfd_coff_link_input_bfd (finfo, input_bfd)
have to write the symbol out twice. */
if (finfo->last_file_index != -1
- && finfo->last_file.n_value != (long) output_index)
+ && finfo->last_file.n_value != (bfd_vma) output_index)
{
/* We must correct the value of the last C_FILE
entry. */