Date: Wed, 25 Sep 2019 19:01:21 -0400 From: Ed Maste <emaste@freebsd.org> To: Dimitry Andric <dim@freebsd.org> Cc: Bruce Evans <brde@optusnet.com.au>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org> Subject: Re: svn commit: r352661 - head/sys/netinet/tcp_stacks Message-ID: <CAPyFy2B%2BshcJC-9ikYxg_PXrKq6pi-cxCu_t=7qoDiCmByU1UQ@mail.gmail.com> In-Reply-To: <A7FE871A-B5E9-44BC-B3CF-4B7D8302EC01@FreeBSD.org> References: <201909242036.x8OKahnv021758@repo.freebsd.org> <20190925070207.Y3271@besplex.bde.org> <CAPyFy2BMAbnNqmu9Cn_74Cc4-3eHCPYfiQP9W17xj2=cdEwoOA@mail.gmail.com> <A7FE871A-B5E9-44BC-B3CF-4B7D8302EC01@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Sep 2019 at 17:13, Dimitry Andric <dim@freebsd.org> wrote: > > > Interesting, it seems Clang doesn't even warn in the case of casting a > > uint64_t to a 32-bit pointer. Looks like there are some useful > > warnings that ought to be implemented. > > There is -Wconversion for this, or the more specific -Wshorten-64-to-32: But it's not all of -Wconversion I think we want or even 64- to 32-bit warnings, but particularly conversions between pointers and integers of different sizes.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2B%2BshcJC-9ikYxg_PXrKq6pi-cxCu_t=7qoDiCmByU1UQ>