aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp_misc.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-09-09 01:13:23 +0000
committerlloyd <[email protected]>2006-09-09 01:13:23 +0000
commit851aae3b7a03daa77f16b7256ed97f2317566c12 (patch)
tree4f111a3dc3054db4ad76809eb65de961420e9faa /src/mp_misc.cpp
parent0fa09058d3d9b920c0fc38e159728f3566678fde (diff)
Add parenthesis to make the order of evaluation in an expression more obvious
Diffstat (limited to 'src/mp_misc.cpp')
-rw-r--r--src/mp_misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mp_misc.cpp b/src/mp_misc.cpp
index 5f391f905..e0dd7d3b6 100644
--- a/src/mp_misc.cpp
+++ b/src/mp_misc.cpp
@@ -63,7 +63,7 @@ word bigint_divop(word n1, word n0, word d)
word high_top_bit = (high & MP_WORD_TOP_BIT);
high <<= 1;
- high |= (n0 >> MP_WORD_BITS-1-j) & 1;
+ high |= (n0 >> (MP_WORD_BITS-1-j)) & 1;
quotient <<= 1;
if(high_top_bit || high >= d)