git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9d8ad37
)
cleanup-pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020726
author
Tino Schwarze
<tino.schwarze@informatik.tu-chemnitz.de>
Fri, 26 Jul 2002 21:38:41 +0000 (21:38 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Fri, 26 Jul 2002 21:38:41 +0000 (21:38 +0000)
fix operator precedence bug
src/afs/afs_pioctl.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_pioctl.c
b/src/afs/afs_pioctl.c
index
aeeb790
..
fe5c6c6
100644
(file)
--- 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;
}