From b7e6c5e707986fc614e2bd7b4d667b5c529b1929 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 24 Sep 2009 00:14:20 -0700 Subject: [PATCH] Fix thinko in previous change. --- src/microcode/bignum.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/microcode/bignum.c b/src/microcode/bignum.c index ad8e3e052..26b5b7c9b 100644 --- a/src/microcode/bignum.c +++ b/src/microcode/bignum.c @@ -742,13 +742,13 @@ bignum_fits_in_word_p (bignum_type bignum, long word_length, unsigned int n_bits; if (twos_complement_p) + n_bits = (word_length - 1); + else { if (BIGNUM_NEGATIVE_P (bignum)) return (0); - n_bits = (word_length - 1); + n_bits = word_length; } - else - n_bits = word_length; BIGNUM_ASSERT (n_bits > 0); { -- 2.25.1