Browse Source

hurd: Fix build

7e23b3c2c0 ("Update code to handle the new ABI for sending inlined
port rights.") was missing a cast.

Fixes 7e23b3c2c0
azanella/bz23960-dirent
Samuel Thibault 2 years ago
parent
commit
7096914dd8
  1. 2
      hurd/intr-msg.c

2
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));
}

Loading…
Cancel
Save