]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Fix build
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 3 Dec 2023 00:52:58 +0000 (01:52 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 3 Dec 2023 00:52:58 +0000 (01:52 +0100)
7e23b3c2c008 ("Update code to handle the new ABI for sending inlined
port rights.") was missing a cast.

Fixes 7e23b3c2c008e0b9b5da055e675d40cc27bb10ef

hurd/intr-msg.c

index d52e90449e7733ead21a74d3a1541d2f46264046..9912f4f1f366f230af6b235dbb0ba077e514ecdf 100644 (file)
@@ -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));
                }