diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-09-12 10:26:45 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-09-12 10:26:45 +0000 |
commit | dca74677df2f731bda19d97a75bf19fe38991607 (patch) | |
tree | efbfebb54ff3a147ace8d4a22f9749b7f8f07635 /src/rec_sqrt.c | |
parent | e8e558f8a700718bc45c93dcc2f750846afb48d0 (diff) | |
download | mpfr-dca74677df2f731bda19d97a75bf19fe38991607.tar.gz |
[src/rec_sqrt.c] Fixed a type from r13172 (int was obviously too short
and was yielding a segmentation fault).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13173 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/rec_sqrt.c')
-rw-r--r-- | src/rec_sqrt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rec_sqrt.c b/src/rec_sqrt.c index a6b106a3e..afc976c24 100644 --- a/src/rec_sqrt.c +++ b/src/rec_sqrt.c @@ -179,7 +179,7 @@ mpfr_mpn_rec_sqrt (mpfr_limb_ptr x, mpfr_prec_t p, if (p == 11) /* should happen only from recursive calls */ { unsigned long i, ab, ac; - int t; + mp_limb_t t; /* take the 12+as most significant bits of A */ #if GMP_NUMB_BITS >= 16 |