summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/aarch64/elfinterp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/aarch64/elfinterp.c b/ldso/ldso/aarch64/elfinterp.c
index 2b5e185d8..adabafaad 100644
--- a/ldso/ldso/aarch64/elfinterp.c
+++ b/ldso/ldso/aarch64/elfinterp.c
@@ -233,7 +233,7 @@ _dl_do_reloc (struct elf_resolve *tpnt, struct r_scope_elem *scope,
else
#endif
{
- td->arg = symbol_addr + tls_tpnt->l_tls_offset;
+ td->arg = (void*)(symbol_addr + tls_tpnt->l_tls_offset);
td->entry = _dl_tlsdesc_return;
}
}