diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mp_misc.cpp | 2 |
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) |