summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1999-10-28 22:03:08 +0000
committerwtc%netscape.com <devnull@localhost>1999-10-28 22:03:08 +0000
commitea605b174df46c277af21aa392a658500c391cb6 (patch)
tree432c39e6719ae1b82af70d11e59f31708d2943b2
parentbad24ab4152370e8df02a8e8e689908260e18bb2 (diff)
downloadnspr-hg-ea605b174df46c277af21aa392a658500c391cb6.tar.gz
Bugzilla bug #17486: need parentheses around a & operator in an expression
-rw-r--r--pr/src/md/unix/unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/md/unix/unix.c b/pr/src/md/unix/unix.c
index 8c3dca00..ffda1d9a 100644
--- a/pr/src/md/unix/unix.c
+++ b/pr/src/md/unix/unix.c
@@ -2983,7 +2983,7 @@ PRTransmitFileFlags flags, PRIntervalTime timeout)
* to not consume too much virtual address space
*/
if ((sfd->file_offset == 0) ||
- (sfd->file_offset & (pagesize - 1) == 0)) {
+ ((sfd->file_offset & (pagesize - 1)) == 0)) {
/*
* case 1: page-aligned file offset
*/