diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mach_debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/mach_debug.c b/ipc/mach_debug.c index 28dd693..723d864 100644 --- a/ipc/mach_debug.c +++ b/ipc/mach_debug.c @@ -447,7 +447,7 @@ mach_port_space_info( table_size - rsize_used); if (size_used != rsize_used) - memset((char *) (table_addr + size_used), 0, + memset((void *) (table_addr + size_used), 0, rsize_used - size_used); kr = vm_map_copyin(ipc_kernel_map, table_addr, rsize_used, @@ -482,7 +482,7 @@ mach_port_space_info( tree_size - rsize_used); if (size_used != rsize_used) - memset((char *) (tree_addr + size_used), 0, + memset((void *) (tree_addr + size_used), 0, rsize_used - size_used); kr = vm_map_copyin(ipc_kernel_map, tree_addr, rsize_used, |