aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-27 16:49:05 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-27 16:49:05 +0100
commit05ebfe87fa9464f0e414329accd82f20d6ec9946 (patch)
treef4a32991dd6f12af47a156005fd2b5d1e1954284 /sysdeps
parent147d1dbb9d87ef73175e91d34d66d6bb4189a11e (diff)
downloadglibc-05ebfe87fa9464f0e414329accd82f20d6ec9946.tar
glibc-05ebfe87fa9464f0e414329accd82f20d6ec9946.tar.gz
glibc-05ebfe87fa9464f0e414329accd82f20d6ec9946.tar.bz2
glibc-05ebfe87fa9464f0e414329accd82f20d6ec9946.zip
hurd: fix warning
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast vm_address_t * to ElfW(Addr) * for dl_main parameter.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index 7f2ba8c78b..2cd63bb83a 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -204,7 +204,7 @@ unfmh(); /* XXX */
up and leave us to transfer control to USER_ENTRY. */
(*dl_main) ((const ElfW(Phdr) *) _dl_hurd_data->phdr,
_dl_hurd_data->phdrsz / sizeof (ElfW(Phdr)),
- &_dl_hurd_data->user_entry, NULL);
+ (ElfW(Addr) *) &_dl_hurd_data->user_entry, NULL);
/* The call above might screw a few things up.