diff3: Don't perform a bitwise OR when comparing diffs
This fixes the build now that it uses -Wbitwise-instead-of-logical Sponsored by: Klara Inc.
This commit is contained in:
parent
e605b87a9e
commit
7d975c7f93
@ -304,7 +304,7 @@ merge(int m1, int m2)
|
||||
d2 = d23;
|
||||
j = 0;
|
||||
|
||||
while ((t1 = d1 < d13 + m1) | (t2 = d2 < d23 + m2)) {
|
||||
while (t1 = d1 < d13 + m1, t2 = d2 < d23 + m2, t1 || t2) {
|
||||
/* first file is different from the others */
|
||||
if (!t2 || (t1 && d1->new.to < d2->new.from)) {
|
||||
/* stuff peculiar to 1st file */
|
||||
|
Loading…
Reference in New Issue
Block a user