Subject: CVS commit: basesrc/usr.bin/chpass
To: None <source-changes@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 05/09/2002 04:58:39
Module Name:	basesrc
Committed By:	simonb
Date:		Thu May  9 01:58:39 UTC 2002

Modified Files:
	basesrc/usr.bin/chpass: field.c

Log Message:
Fix warnings found by gcc-current with alpha target:
There's no use assigning the output of strtoul() to a 32-bit variable
then checking that against ULONG_MAX.  Instead use a "unsigned long"
as the temporary variable.  Also, only check against UID_MAX/GID_MAX;
these are both going to be smaller than ULONG_MAX on both 32- and 64-bit
platforms.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 basesrc/usr.bin/chpass/field.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.