From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id EC12F21773 for ; Wed, 14 Aug 2024 02:47:52 +0200 (CEST) Received: (qmail 31937 invoked by uid 550); 14 Aug 2024 00:47:46 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 31902 invoked from network); 14 Aug 2024 00:47:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brad-house.com; s=google; t=1723596458; x=1724201258; darn=lists.openwall.com; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=M9UMpZsBM7y3NIhAgyS5ccmoDWki0HXapjx2Moyr8wo=; b=c9gOv+f9Yn+tmJC5y5jKbEJ80gFmOuBPDIbPrB+wg/6IPs2IY31SVb4hN0qpfiJF3f 04Y7LJuYutdDJLa2ZUoomwBd8D+bEyq6NhaghDDWMiIXkZ8cO+b+iz/9VzXefrpO/5LL Bam6i4+GvW1o/Ka8DfalXgd+PU9kY0XfJtMb/OcKa8U16j+b9gzSTan2PAuhWUbKTZ+D ae7Q419DVuucoaWPEXLpCl6yV+/H2pciL990LqeDpFWbDuenTacXDmZNtWzSwb8WBE4u 40kAeYFWbfv/DQ36OLtxmp3vgNSknI5Qpty94PLQMhYRhJVZ1USCTkULTJ7lZTEeFbBA Jh4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723596458; x=1724201258; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=M9UMpZsBM7y3NIhAgyS5ccmoDWki0HXapjx2Moyr8wo=; b=MVCkddngIRuAw2QK2SPHdAQnSnXSrWrSyiHVg+C09s51hyfraiE9qbbOD//OOwOhhE 5FfgETrSTBZ+bObO2rW7/0qtOYSQuCufEJbVM6bjkV92UKBU9DPsyaotrsdm2my7TRF3 m2c6591Q8E3+dEUc2SVlEkhWKn+lzX1OU5qJQa91zfv0Z0+cVUm3OgIgMRddj1cP8+cy 9xPO4IW1jZ/0UnLUAi416x//lMbFKawvWnBI0bRbW3M5DTO00YEz4pSQWfsmdms9hkdz AWY5SIP64ZqxhSVGT8BleSw873q96EOq4b+ilxRfxqRpY72jhconNmU2OumU13Mf537d Ofiw== X-Gm-Message-State: AOJu0YwikdEHJZTEOjNTRv1CnVOvCk8Qk7g5pVDp42am9VRJl9T+n/Zu 1u09j+amfTjGfjXUt4/HktovVS7/845rMN+3ZDiq0HAXE8C6d0LQhfuH0N1OcyPAhYNtMq2oGeg UdzU= X-Google-Smtp-Source: AGHT+IHhcRN+PgdLTULa6dcGccL+I4Lw4pd46QH3Gphk3q6hwNRAgpR0hVEHThuoyq+/gDSxoOG76w== X-Received: by 2002:a81:7e13:0:b0:6ad:756b:9448 with SMTP id 00721157ae682-6ad756b9548mr212207b3.22.1723596458132; Tue, 13 Aug 2024 17:47:38 -0700 (PDT) Message-ID: <8e49489e-6910-45c7-be8a-4996cf9085b0@brad-house.com> Date: Tue, 13 Aug 2024 20:47:37 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Brad House To: musl@lists.openwall.com References: <20240802233801.GU10433@brightrain.aerifal.cx> <4c03697d-36fd-42e3-8a27-e121d3acc522@brad-house.com> Content-Language: en-US In-Reply-To: <4c03697d-36fd-42e3-8a27-e121d3acc522@brad-house.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [musl] [PATCH 1/1] IN6_IS_ADDR_LOOPBACK() and similar macros warn on -Wcast-qual On 8/2/24 8:02 PM, Brad House wrote: > > Yep, I see what you mean.  There are already accessors for 8, 16, and > 32bit into struct in6_addr so its odd not to use those.  I've attached > a v2 patch that uses those instead which also cleans up the warnings. > > -Brad Any feedback? -Brad