From 0be50de40ee012223eba38e76f19ed08f5429f51 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Tue, 2 May 2023 00:11:22 -0400 Subject: Use uintptr_t for message payloads. A follow up to 92fad38a043b75ed6b435b3efa574ede91dbe9ee in gnumach. Message-Id: --- proc/mig-decls.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proc/mig-decls.h') diff --git a/proc/mig-decls.h b/proc/mig-decls.h index eb33ef31..c6b5d3ed 100644 --- a/proc/mig-decls.h +++ b/proc/mig-decls.h @@ -36,7 +36,7 @@ begin_using_proc_port (mach_port_t port) } static inline struct proc * __attribute__ ((unused)) -begin_using_proc_payload (unsigned long payload) +begin_using_proc_payload (uintptr_t payload) { struct proc *p; p = ports_lookup_payload (proc_bucket, payload, proc_class); @@ -62,7 +62,7 @@ begin_using_exc_port (mach_port_t port) } static inline exc_t __attribute__ ((unused)) -begin_using_exc_payload (unsigned long payload) +begin_using_exc_payload (uintptr_t payload) { return ports_lookup_payload (NULL, payload, exc_class); } -- cgit v1.2.3