Date: Sat, 8 Oct 2022 03:50:05 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: Gleb Smirnoff <glebius@freebsd.org> Cc: Hans Petter Selasky <hps@selasky.org>, "Piotr P. Stefaniak" <pstef@freebsd.org>, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 62d42655bca1 - main - usb(4): Substitute "unsigned int" using the equivalent and shorter "unsigned" keyword. Message-ID: <Y0DJPclnBAQ4qutg@kib.kiev.ua> In-Reply-To: <Y0COlJ1xrcT8zanb@FreeBSD.org> References: <202210071141.297BfcjN071407@gitrepo.freebsd.org> <Y0ASC9OXKP19xkSz@freefall.freebsd.org> <d7d3b1ef-1afe-bb84-d61c-031b3dff94c2@selasky.org> <Y0AnxWRAH7detuol@freefall.freebsd.org> <bf9cae46-5d31-e676-2640-c6b49cfdd902@selasky.org> <Y0COlJ1xrcT8zanb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 07, 2022 at 01:39:48PM -0700, Gleb Smirnoff wrote: > On Fri, Oct 07, 2022 at 04:21:01PM +0200, Hans Petter Selasky wrote: > H> >>> Why? Just because it's shorter? > H> >> > H> >> Yes, just because "int" is the redundant. > H> > > H> > Definitely that's true for computers. In case of humans it's debatable. > H> > H> Would uint32_t be more clear? > > IMHO, it definitely will be more clear. Cleaner or not, replacing u_int by uint32_t is semantic change, not an editorial.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y0DJPclnBAQ4qutg>