diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-12 05:17:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-12 05:17:34 +0000 |
commit | 937c9a0f84db15a0a64ed0419a42da3a34d96cde (patch) | |
tree | b6b3bfb6f6bbc506426154fc8294316054abb45f /usr.bin/uuencode | |
parent | 4e5dd980fd1238d635621b9bba7d99533aababd6 (diff) |
first pass at a -Wall cleanup
Diffstat (limited to 'usr.bin/uuencode')
-rw-r--r-- | usr.bin/uuencode/uuencode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/uuencode/uuencode.c b/usr.bin/uuencode/uuencode.c index 6bb2218e02c..d5091cd7ed5 100644 --- a/usr.bin/uuencode/uuencode.c +++ b/usr.bin/uuencode/uuencode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uuencode.c,v 1.2 1996/06/26 05:42:24 deraadt Exp $ */ +/* $OpenBSD: uuencode.c,v 1.3 2001/07/12 05:17:28 deraadt Exp $ */ /* $NetBSD: uuencode.c,v 1.7 1994/11/17 07:41:15 jtc Exp $ */ /*- @@ -42,7 +42,7 @@ char copyright[] = #if 0 static char sccsid[] = "@(#)uuencode.c 8.2 (Berkeley) 4/2/94"; #endif -static char rcsid[] = "$OpenBSD: uuencode.c,v 1.2 1996/06/26 05:42:24 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: uuencode.c,v 1.3 2001/07/12 05:17:28 deraadt Exp $"; #endif /* not lint */ /* @@ -120,7 +120,7 @@ encode() register char *p; char buf[80]; - while (n = fread(buf, 1, 45, stdin)) { + while ((n = fread(buf, 1, 45, stdin))) { ch = ENC(n); if (putchar(ch) == EOF) break; |