Fix probable precedence bug

and at least get rid of a compiler warning
This commit is contained in:
Larry Doolittle 2008-05-29 10:11:29 -07:00 committed by Stephen Williams
parent dfa6471227
commit 523dff7ae7
1 changed files with 1 additions and 1 deletions

View File

@ -1648,7 +1648,7 @@ static unsigned long* divide_bits(unsigned long*ap, unsigned long*bp, unsigned w
// carry&1. If it is 0, then it is *negative*.) In that
// case, we know that cur_res was too large by 1. Correct by
// adding 1b back in and reducing cur_res.
if (carry&1 == 0) {
if ((carry&1) == 0) {
cur_res -= 1;
carry = 0;
for (unsigned idx = cur_ptr ; idx < words ; idx += 1)