From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1792) id DEED83858C2D; Sun, 3 Dec 2023 00:53:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DEED83858C2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1701564820; bh=kooR163GF5z6olIejBhZHWKO+W9KVZvEa3fYq/JyhV8=; h=From:To:Subject:Date:From; b=m3mrjn5VlwHkwAIsam1oUp67vrvqlB9Osep2kYCFdoY6UJdbCPRWadEb3zKb/apfL GHi/2ncd7eg0gbR4OtzJIAqkQRhu5Q3gTJ98WWd9pUx54rvvlXWGFn6CtBukhzax1n 3XDFHzmlQ5YaFonyx6u+VV6y3HrNQwym/Y44c5iU= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Samuel Thibault To: glibc-cvs@sourceware.org Subject: [glibc] hurd: Fix build X-Act-Checkin: glibc X-Git-Author: Samuel Thibault X-Git-Refname: refs/heads/master X-Git-Oldrev: 7e23b3c2c008e0b9b5da055e675d40cc27bb10ef X-Git-Newrev: 7096914dd8ff2dfd1d8cba3577b72838f5e4c2bd Message-Id: <20231203005340.DEED83858C2D@sourceware.org> Date: Sun, 3 Dec 2023 00:53:40 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7096914dd8ff2dfd1d8cba3577b72838f5e4c2bd commit 7096914dd8ff2dfd1d8cba3577b72838f5e4c2bd Author: Samuel Thibault Date: Sun Dec 3 01:52:58 2023 +0100 hurd: Fix build 7e23b3c2c008 ("Update code to handle the new ABI for sending inlined port rights.") was missing a cast. Fixes 7e23b3c2c008e0b9b5da055e675d40cc27bb10ef Diff: --- hurd/intr-msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }