Re: svn commit: r283842 - head/usr.sbin/pw

2015-06-02 Thread Bruce Evans
On Mon, 1 Jun 2015, Baptiste Daroussin wrote: On Mon, Jun 01, 2015 at 03:36:58PM +1000, Bruce Evans wrote: On Sun, 31 May 2015, Baptiste Daroussin wrote: Log: Remove useless cast in printf and printf-like functions: use %u for uid_t and gid_t The cast was not useless. It was to avoid the

Re: svn commit: r283842 - head/usr.sbin/pw

2015-06-01 Thread Baptiste Daroussin
On Mon, Jun 01, 2015 at 03:36:58PM +1000, Bruce Evans wrote: > On Sun, 31 May 2015, Baptiste Daroussin wrote: > > > Log: > > Remove useless cast in printf and printf-like functions: > > use %u for uid_t and gid_t > > The cast was not useless. It was to avoid the assumption that the default > p

Re: svn commit: r283842 - head/usr.sbin/pw

2015-06-01 Thread Slawa Olhovchenkov
On Mon, Jun 01, 2015 at 03:36:58PM +1000, Bruce Evans wrote: > On Sun, 31 May 2015, Baptiste Daroussin wrote: > > > Log: > > Remove useless cast in printf and printf-like functions: > > use %u for uid_t and gid_t > > The cast was not useless. It was to avoid the assumption that the default >

Re: svn commit: r283842 - head/usr.sbin/pw

2015-05-31 Thread Bruce Evans
On Sun, 31 May 2015, Baptiste Daroussin wrote: Log: Remove useless cast in printf and printf-like functions: use %u for uid_t and gid_t The cast was not useless. It was to avoid the assumption that the default promotion of uid_t and gid_t is anything in particular. Now it is assumed that t

svn commit: r283842 - head/usr.sbin/pw

2015-05-31 Thread Baptiste Daroussin
Author: bapt Date: Sun May 31 22:07:03 2015 New Revision: 283842 URL: https://svnweb.freebsd.org/changeset/base/283842 Log: Remove useless cast in printf and printf-like functions: use %u for uid_t and gid_t Modified: head/usr.sbin/pw/pw_conf.c head/usr.sbin/pw/pw_group.c head/usr.sbin/