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 | f533d3ab41a3edeaa1ae611372dea0d13c51ef76 (patch) | |
tree | cfb063e941efc61b9d4aaf5f1b223dae502e9b76 /libtommath | |
parent | e5c7df2c2fb5c9de57beb562b5895257b75d5340 (diff) | |
parent | e08b947885c19c9ce8dc19999af8b96fb3d37073 (diff) | |
download | tcl-f533d3ab41a3edeaa1ae611372dea0d13c51ef76.zip tcl-f533d3ab41a3edeaa1ae611372dea0d13c51ef76.tar.gz tcl-f533d3ab41a3edeaa1ae611372dea0d13c51ef76.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; |