From 28816dc49110a6f2a6d4b1db9f2d8b129787b299 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 7 Aug 2018 10:45:58 +0100 Subject: Fix parenthesis warning on clang --- src/big_int.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/big_int.cpp') 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) { -- cgit v1.2.3