summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_debug.c b/vm/vm_debug.c
index 0af58b6..a240ba8 100644
--- a/vm/vm_debug.c
+++ b/vm/vm_debug.c
@@ -404,7 +404,7 @@ mach_vm_object_pages(object, pagesp, countp)
addr + rsize_used, size - rsize_used);
if (size_used != rsize_used)
- memset((char *) (addr + size_used), 0,
+ memset((void *) (addr + size_used), 0,
rsize_used - size_used);
kr = vm_map_copyin(ipc_kernel_map, addr, rsize_used,