aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/munmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/munmap.c')
-rw-r--r--sysdeps/mach/munmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/munmap.c b/sysdeps/mach/munmap.c
index 6b3e07d..79f54e1 100644
--- a/sysdeps/mach/munmap.c
+++ b/sysdeps/mach/munmap.c
@@ -25,7 +25,7 @@
bytes. Returns 0 if successful, -1 for errors (and sets errno). */
int
-__munmap (caddr_t addr, size_t len)
+__munmap (__ptr_t addr, size_t len)
{
kern_return_t err;
if (err = __vm_deallocate (__mach_task_self (),