summaryrefslogtreecommitdiff
path: root/sysdeps/mach/mprotect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/mprotect.c')
-rw-r--r--sysdeps/mach/mprotect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/mprotect.c b/sysdeps/mach/mprotect.c
index f98c663862..f297cdbf4c 100644
--- a/sysdeps/mach/mprotect.c
+++ b/sysdeps/mach/mprotect.c
@@ -26,7 +26,7 @@
(and sets errno). */
int
-__mprotect (caddr_t addr, size_t len, int prot)
+__mprotect (__ptr_t addr, size_t len, int prot)
{
kern_return_t err;
vm_prot_t vmprot;