mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 08:53:35 +08:00
hurd: fix warning
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast vm_address_t * to ElfW(Addr) * for dl_main parameter.
This commit is contained in:
parent
147d1dbb9d
commit
05ebfe87fa
@ -11,6 +11,8 @@
|
||||
* sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
|
||||
__sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
|
||||
return 0.
|
||||
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
|
||||
vm_address_t * to ElfW(Addr) * for dl_main parameter.
|
||||
|
||||
2018-01-27 James Clarke <jrtc27@jrtc27.com>
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user