svn commit: r352661 - head/sys/netinet/tcp_stacks

Ed Maste emaste at freebsd.org
Wed Sep 25 23:01:37 UTC 2019


On Wed, 25 Sep 2019 at 17:13, Dimitry Andric <dim at 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.


More information about the svn-src-head mailing list