aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-08-07 10:45:58 +0100
committerGinger Bill <bill@gingerbill.org>2018-08-08 13:04:40 +0100
commit28816dc49110a6f2a6d4b1db9f2d8b129787b299 (patch)
tree087036bd23cfb0172b0121dd5d5e4df8b215446a /src
parentccdc3438bee5e2cc2ead74c0d8fea784c4a27b61 (diff)
Fix parenthesis warning on clang
Diffstat (limited to 'src')
-rw-r--r--src/big_int.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/big_int.cpp b/src/big_int.cpp
index e177763f8..42d28d28c 100644
--- a/src/big_int.cpp
+++ b/src/big_int.cpp
@@ -865,7 +865,7 @@ u64 mulAddVWW(BigInt *z, BigInt const *x, u64 y, u64 r) {
}
bool bi__greater_than(u64 x1, u64 x2, u64 y1, u64 y2) {
- return x1 > y1 || x1 == x2 && x2 > y2;
+ return x1 > y1 || (x1 == x2 && x2 > y2);
}
void bi__div_large(BigInt const *a, BigInt const *b, BigInt *q, BigInt *r) {