diff options
author | Kevin B Kenny <kennykb@acm.org> | 2011-07-02 22:36:45 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2011-07-02 22:36:45 (GMT) |
commit | ab7a6af8cae45f25825b7c3ac24edc9af86c9233 (patch) | |
tree | cfb063e941efc61b9d4aaf5f1b223dae502e9b76 /libtommath | |
parent | 8f8741ac3a12f301cee5f84fd38210ef0527106c (diff) | |
parent | 59f60c354a264bd149bbe3248982f82c6ddd165a (diff) | |
download | tcl-ab7a6af8cae45f25825b7c3ac24edc9af86c9233.zip tcl-ab7a6af8cae45f25825b7c3ac24edc9af86c9233.tar.gz tcl-ab7a6af8cae45f25825b7c3ac24edc9af86c9233.tar.bz2 |
Fix roundoff gaffe in bignum-to-double conversion [Bug 3349507]
Diffstat (limited to 'libtommath')
-rw-r--r-- | libtommath/bn_mp_cnt_lsb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_cnt_lsb.c b/libtommath/bn_mp_cnt_lsb.c index 6447a1f..f205e8c 100644 --- a/libtommath/bn_mp_cnt_lsb.c +++ b/libtommath/bn_mp_cnt_lsb.c @@ -20,7 +20,7 @@ static const int lnz[16] = { }; /* Counts the number of lsbs which are zero before the first zero bit */ -int mp_cnt_lsb(mp_int *a) +int mp_cnt_lsb(const mp_int *a) { int x; mp_digit q, qq; |