summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-09-05 09:47:09 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-09-05 09:47:09 +0000
commit6d272eaaf3d1bfea720b34e3a1d58a2ea1521e76 (patch)
tree89d2dae1a4356bad5287853acb2fcc18184b0efe /usr.bin/cvs
parent4decf6d93fd3fb8a89aff8b3adeb313d5f6d86ba (diff)
Add brackets to clarify assignments that are the result of a test operator.
ok deraadt@ looks correct millert@ jung@
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/diff3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff3.c b/usr.bin/cvs/diff3.c
index a15248a1bb7..3a601e430d0 100644
--- a/usr.bin/cvs/diff3.c
+++ b/usr.bin/cvs/diff3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff3.c,v 1.57 2015/01/16 06:40:07 deraadt Exp $ */
+/* $OpenBSD: diff3.c,v 1.58 2015/09/05 09:47:08 jsg Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -548,7 +548,7 @@ merge(size_t m1, size_t m2)
d1 = d13;
d2 = d23;
j = 0;
- while ((t1 = d1 < d13 + m1) | (t2 = d2 < d23 + m2)) {
+ while ((t1 = (d1 < d13 + m1)) | (t2 = (d2 < d23 + m2))) {
if (debug) {
printf("%d,%d=%d,%d %d,%d=%d,%d\n",
d1->old.from, d1->old.to,