Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2017 13:29:32 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        Bruce Evans <brde@optusnet.com.au>, Alan Somers <asomers@freebsd.org>, Gleb Smirnoff <glebius@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocfs...
Message-ID:  <20170502102932.GC1622@kib.kiev.ua>
In-Reply-To: <27c9a2b4-b993-2370-1da8-b4beef354a1b@selasky.org>
References:  <201704171734.v3HHYlf5022945@repo.freebsd.org> <CAOtMX2jdNj0du0ZuUKPr16iHK_YeNVzf-nDvwC-MuFM003VVAg@mail.gmail.com> <20170419130428.J956@besplex.bde.org> <20170430201324.GV1622@kib.kiev.ua> <20170501163725.U972@besplex.bde.org> <20170502095527.GB1622@kib.kiev.ua> <27c9a2b4-b993-2370-1da8-b4beef354a1b@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 02, 2017 at 12:02:32PM +0200, Hans Petter Selasky wrote:
> On 05/02/17 11:55, Konstantin Belousov wrote:
> > +		out1 = 0xffffffff;
> 
> Nitpicking:
> 
> Should this be written: 0xffffffffU ??

Compiler must do it on its own.  The constant is not representable as
int so it is auto-promoted to unsigned int, if fitting.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170502102932.GC1622>