From 92fad38a043b75ed6b435b3efa574ede91dbe9ee Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Wed, 11 Jan 2023 23:22:53 -0500 Subject: Use rpc_uintptr_t for protected payloads. Not only is uintptr_t more accurate for what protected payloads are but we also provide compatibility for 64 + 32 bits. Also the use of natural_t in the RPC definition is wrong since it is always 32 bits. Message-Id: --- ipc/ipc_port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipc/ipc_port.c') diff --git a/ipc/ipc_port.c b/ipc/ipc_port.c index a0006cf4..c593e8b3 100644 --- a/ipc/ipc_port.c +++ b/ipc/ipc_port.c @@ -431,7 +431,7 @@ ipc_port_set_seqno( */ void -ipc_port_set_protected_payload(ipc_port_t port, unsigned long payload) +ipc_port_set_protected_payload(ipc_port_t port, rpc_uintptr_t payload) { ipc_mqueue_t mqueue; -- cgit v1.2.3