aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index a7ca4f4..e24194e 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -818,7 +818,7 @@ add_archive_element (struct bfd_link_info *info,
parent = abfd->my_archive->usrdata;
if (parent != NULL && !parent->flags.reload)
- parent->next = (lang_statement_union_type *) input;
+ parent->next = input;
/* Save the original data for trace files/tries below, as plugins
(if enabled) may possibly alter it to point to a replacement