From: Tino Schwarze Date: Fri, 26 Jul 2002 21:38:41 +0000 (+0000) Subject: cleanup-pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020726 X-Git-Tag: openafs-devel_1_3_3~47 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=07a4570310f6bdddbe07ffccb3ece579ff4bdff8;p=packages%2Fo%2Fopenafs.git cleanup-pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020726 fix operator precedence bug --- diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index aeeb7906e..fe5c6c67b 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -1439,7 +1439,7 @@ static PGCPAGs(avc, afun, areq, ain, aout, ainSize, aoutSize, acred) ain += sizeof(afs_int32); /* skip id field */ /* rest is cell name, look it up */ /* some versions of gcc appear to need != 0 in order to get this right */ - if (flag & 0x8000 != 0) { /* XXX Use Constant XXX */ + if ((flag & 0x8000) != 0) { /* XXX Use Constant XXX */ flag &= ~0x8000; set_parent_pag = 1; }