diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-05-02 00:11:22 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-02 07:47:15 +0200 |
commit | 0be50de40ee012223eba38e76f19ed08f5429f51 (patch) | |
tree | 0dbcb5ec4511e2f6cfb5f7772c5520bbda440fa3 /pflocal | |
parent | 0afac7ab288a2a259bbc6bdb7e20b686b3913274 (diff) | |
download | hurd-0be50de40ee012223eba38e76f19ed08f5429f51.tar.gz hurd-0be50de40ee012223eba38e76f19ed08f5429f51.tar.bz2 hurd-0be50de40ee012223eba38e76f19ed08f5429f51.zip |
Use uintptr_t for message payloads.
A follow up to 92fad38a043b75ed6b435b3efa574ede91dbe9ee in gnumach.
Message-Id: <ZFCNasf9bJ9qj+CG@jupiter.tail36e24.ts.net>
Diffstat (limited to 'pflocal')
-rw-r--r-- | pflocal/mig-decls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pflocal/mig-decls.h b/pflocal/mig-decls.h index 6c044ce9..494ea58a 100644 --- a/pflocal/mig-decls.h +++ b/pflocal/mig-decls.h @@ -37,7 +37,7 @@ begin_using_sock_user_port(mach_port_t port) } static inline sock_user_t __attribute__ ((unused)) -begin_using_sock_user_payload (unsigned long payload) +begin_using_sock_user_payload (uintptr_t payload) { return ports_lookup_payload (NULL, payload, sock_user_port_class); } @@ -56,7 +56,7 @@ begin_using_addr_port(mach_port_t port) } static inline addr_t __attribute__ ((unused)) -begin_using_addr_payload (unsigned long payload) +begin_using_addr_payload (uintptr_t payload) { return ports_lookup_payload (NULL, payload, addr_port_class); } |