cleanup-pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020726

fix operator precedence bug
This commit is contained in:
Tino Schwarze 2002-07-26 21:38:41 +00:00 committed by Derrick Brashear
parent 9d8ad37ced
commit 07a4570310

View File

@ -1439,7 +1439,7 @@ static PGCPAGs(avc, afun, areq, ain, aout, ainSize, aoutSize, acred)
ain += sizeof(afs_int32); /* skip id field */ ain += sizeof(afs_int32); /* skip id field */
/* rest is cell name, look it up */ /* rest is cell name, look it up */
/* some versions of gcc appear to need != 0 in order to get this right */ /* 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; flag &= ~0x8000;
set_parent_pag = 1; set_parent_pag = 1;
} }