aboutsummaryrefslogtreecommitdiff
path: root/src/big_int.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/big_int.cpp')
-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) {