diff mbox series

[hurd,commited] hurd: Fix build

Message ID 20231203005350.1506116-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series [hurd,commited] hurd: Fix build | expand

Commit Message

Samuel Thibault Dec. 3, 2023, 12:53 a.m. UTC
7e23b3c2c008 ("Update code to handle the new ABI for sending inlined
port rights.") was missing a cast.

Fixes 7e23b3c2c008e0b9b5da055e675d40cc27bb10ef
---
 hurd/intr-msg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c
index d52e90449e..9912f4f1f3 100644
--- a/hurd/intr-msg.c
+++ b/hurd/intr-msg.c
@@ -241,7 +241,7 @@  _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg,
 	      const vm_size_t length = ((number * size) + 7) >> 3;
 	      if (ty->msgtl_header.msgt_inline)
 		{
-		  clean_inlined_ports (data);
+		  clean_inlined_ports ((mach_port_name_inlined_t *) data);
 		  /* Move to the next argument.  */
 		  ty = (void *) PTR_ALIGN_UP (data + length, __alignof__ (uintptr_t));
 		}