From owner-svn-src-all@FreeBSD.ORG Sat May 17 12:08:59 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E602A00; Sat, 17 May 2014 12:08:59 +0000 (UTC) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 5D93D2B2B; Sat, 17 May 2014 12:08:59 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id E19ABA492; Sat, 17 May 2014 12:08:56 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id E7F53305C0; Sat, 17 May 2014 14:08:59 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Warner Losh Subject: Re: svn commit: r266238 - head/contrib/ldns/ldns References: <201405161532.s4GFWGvh006504@svn.freebsd.org> <20140517112645.N925@besplex.bde.org> <86ppjdjg2c.fsf@nine.des.no> <4A83A11B-EFDD-46C5-B9D4-D81EBD4FAAAE@gmail.com> Date: Sat, 17 May 2014 14:08:59 +0200 In-Reply-To: <4A83A11B-EFDD-46C5-B9D4-D81EBD4FAAAE@gmail.com> (Warner Losh's message of "Sat, 17 May 2014 00:04:43 -0400") Message-ID: <86lhu0k3ok.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers , Bruce Evans X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2014 12:08:59 -0000 Warner Losh writes: > Dag-Erling Sm=C3=B8rgrav writes: > > Do our standard endianness conversion functions handle unaligned > > accesses? > No. The warning appears to be telling us something that=E2=80=99s being > papered over. No, the conversion is fine, they were just casting away the const qualifier before reading from the pointer (or rather, forgetting to preserve the qualifier in the cast). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no