mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
Satisfy gcc's parenthetical needs and clamp down with WANRS=2.
Reviewed by: md5(1)
This commit is contained in:
parent
3d1421a7f8
commit
7d6d31cb79
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78387
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user