about summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-12-03 01:52:58 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-12-03 01:52:58 +0100
commit7096914dd8ff2dfd1d8cba3577b72838f5e4c2bd (patch)
tree17c56ec0c3547a0e3b54672a6450b433a5de0540 /hurd
parent7e23b3c2c008e0b9b5da055e675d40cc27bb10ef (diff)
downloadglibc-7096914dd8ff2dfd1d8cba3577b72838f5e4c2bd.tar.gz
glibc-7096914dd8ff2dfd1d8cba3577b72838f5e4c2bd.tar.xz
glibc-7096914dd8ff2dfd1d8cba3577b72838f5e4c2bd.zip
hurd: Fix build
7e23b3c2c008 ("Update code to handle the new ABI for sending inlined
port rights.") was missing a cast.

Fixes 7e23b3c2c008e0b9b5da055e675d40cc27bb10ef
Diffstat (limited to 'hurd')
-rw-r--r--hurd/intr-msg.c2
1 files changed, 1 insertions, 1 deletions
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));
 		}