From c7a852bacfa796bff0cc0eb75aa8309f8a1d788c Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sun, 25 Dec 2022 20:48:30 -0500 Subject: Use uintptr_t to define vm_size_t/vm_offset_t/vm_address Message-Id: --- include/mach/mach_types.defs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include') diff --git a/include/mach/mach_types.defs b/include/mach/mach_types.defs index da74a3f2..5e5d0f2f 100644 --- a/include/mach/mach_types.defs +++ b/include/mach/mach_types.defs @@ -123,11 +123,7 @@ type ipc_space_t = mach_port_t #if defined(KERNEL) && defined(USER32) type rpc_vm_size_t = uint32_t; #else /* KERNEL and USER32 */ -#if defined(__x86_64__) -type rpc_vm_size_t = uint64_t; -#else /* __x86_64__ */ -type rpc_vm_size_t = uint32_t; -#endif /* __x86_64__ */ +type rpc_vm_size_t = uintptr_t; #endif /* KERNEL_SERVER and USER32 */ type rpc_vm_offset_t = rpc_vm_size_t; -- cgit v1.2.3