Satisfy gcc's parenthetical needs and clamp down with WANRS=2.

Reviewed by:	md5(1)
This commit is contained in:
Dima Dorfman 2001-06-17 06:22:30 +00:00
parent 3d1421a7f8
commit 7d6d31cb79
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= uuencode
WARNS?= 2
MAN= uuencode.1 uuencode.format.5
MLINKS= uuencode.1 uudecode.1 \
uuencode.format.5 uuencode.5

View File

@ -120,11 +120,11 @@ encode()
ch = ENC(ch);
if (putchar(ch) == EOF)
break;
ch = (*p << 4) & 060 | (p[1] >> 4) & 017;
ch = ((*p << 4) & 060) | ((p[1] >> 4) & 017);
ch = ENC(ch);
if (putchar(ch) == EOF)
break;
ch = (p[1] << 2) & 074 | (p[2] >> 6) & 03;
ch = ((p[1] << 2) & 074) | ((p[2] >> 6) & 03);
ch = ENC(ch);
if (putchar(ch) == EOF)
break;