diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2006-03-30 21:08:22 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2006-03-30 21:08:22 +0000 |
commit | 1eada4599b4a4558704a2ebafc1241d47144d84b (patch) | |
tree | 23040a7f978b4bee110066fb194d0a6e202eb138 /usr.bin/chpass | |
parent | 4aa6eec1f0ddf8475f882089b9d93b976be7f1b1 (diff) |
use size_t where needed; ok deraadt@
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r-- | usr.bin/chpass/edit.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/chpass/edit.c b/usr.bin/chpass/edit.c index 58606d9fe70..1c453e25e34 100644 --- a/usr.bin/chpass/edit.c +++ b/usr.bin/chpass/edit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.c,v 1.28 2005/11/14 15:31:11 deraadt Exp $ */ +/* $OpenBSD: edit.c,v 1.29 2006/03/30 21:08:21 robert Exp $ */ /* $NetBSD: edit.c,v 1.6 1996/05/15 21:50:45 jtc Exp $ */ /*- @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)edit.c 8.3 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: edit.c,v 1.28 2005/11/14 15:31:11 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: edit.c,v 1.29 2006/03/30 21:08:21 robert Exp $"; #endif #endif /* not lint */ @@ -136,7 +136,8 @@ display(char *tempname, int fd, struct passwd *pw) int verify(char *tempname, struct passwd *pw) { - unsigned int alen, line; + unsigned int line; + size_t alen; static char buf[LINE_MAX]; struct stat sb; char *p, *q; |