From owner-svn-src-head@FreeBSD.ORG Mon Aug 9 20:29:53 2010 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F5F41065675; Mon, 9 Aug 2010 20:29:53 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id D21A88FC14; Mon, 9 Aug 2010 20:29:52 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id D561E1FFC33; Mon, 9 Aug 2010 20:29:50 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id A396A844B0; Mon, 9 Aug 2010 22:29:50 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "M. Warner Losh" References: <20100808.153608.1142818667055052395.imp@bsdimp.com> <20100808220631.GA86477@stack.nl> <86tyn4tbuc.fsf@ds4.des.no> <20100809.095007.4959786895405928.imp@bsdimp.com> Date: Mon, 09 Aug 2010 22:29:50 +0200 In-Reply-To: <20100809.095007.4959786895405928.imp@bsdimp.com> (M. Warner Losh's message of "Mon, 09 Aug 2010 09:50:07 -0600 (MDT)") Message-ID: <864of3y1fl.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (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@FreeBSD.org, olli@fromme.com, jilles@stack.nl Subject: Re: svn commit: r211023 - head/usr.sbin/syslogd X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2010 20:29:53 -0000 "M. Warner Losh" writes: > I like the idea of a macro. Why is a cast through uintptr_t better? Without the uintptr_t cast, you'll get an error, or at least a warning, if the pointer is qualified (const and / or volatile). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no