cleanup-pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020726
authorTino Schwarze <tino.schwarze@informatik.tu-chemnitz.de>
Fri, 26 Jul 2002 21:38:41 +0000 (21:38 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 26 Jul 2002 21:38:41 +0000 (21:38 +0000)
fix operator precedence bug

src/afs/afs_pioctl.c

index aeeb790..fe5c6c6 100644 (file)
@@ -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;
       }