about summary refs log tree commit diff
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 477017da39..84a72850ac 100644
--- a/sysdeps/mach/mprotect.c
+++ b/sysdeps/mach/mprotect.c
@@ -25,7 +25,7 @@
    (and sets errno).  */
 
 int
-__mprotect (__ptr_t addr, size_t len, int prot)
+__mprotect (void *addr, size_t len, int prot)
 {
   kern_return_t err;
   vm_prot_t vmprot;