diff options
Diffstat (limited to 'sysdeps/mach/hurd/dl-sysdep.c')
-rw-r--r-- | sysdeps/mach/hurd/dl-sysdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 7c936e9466..6fd6ea356f 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -546,8 +546,8 @@ __close (int fd) return 0; } -caddr_t weak_function -__mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset) +__ptr_t weak_function +__mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset) { error_t err; vm_prot_t vmprot; @@ -656,7 +656,7 @@ _dl_sysdep_message (const char *msg, ...) ? VM_INHERIT_SHARE : VM_INHERIT_COPY); } - return err ? (caddr_t) __hurd_fail (err) : (caddr_t) mapaddr; + return err ? (__ptr_t) __hurd_fail (err) : (__ptr_t) mapaddr; } void weak_function |