summaryrefslogtreecommitdiff
path: root/src/get_f.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-12-20 03:52:41 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-12-20 03:52:41 +0000
commit193a5b80b89d06b2d85a48a738ba0503ed49ac9e (patch)
tree5137651a73d4814ddafd640b3a702de659110887 /src/get_f.c
parentd89dafd79868dc6f2a2df72ebfd85deb7178bf45 (diff)
downloadmpfr-193a5b80b89d06b2d85a48a738ba0503ed49ac9e.tar.gz
Compatibility with GMP 5.1.0 when gmp-impl.h is included (thanks to Rob:
https://sympa.inria.fr/sympa/arc/mpfr/2012-12/msg00003.html); clean-up. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8439 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/get_f.c')
-rw-r--r--src/get_f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/get_f.c b/src/get_f.c
index 6fc376289..de3a3fcf7 100644
--- a/src/get_f.c
+++ b/src/get_f.c
@@ -61,7 +61,7 @@ mpfr_get_f (mpf_ptr x, mpfr_srcptr y, mpfr_rnd_t rnd_mode)
sx = PREC (x);
SIZ (x) = sx;
- xp = LIMBS (x);
+ xp = PTR (x);
for (i = 0; i < sx; i++)
xp[i] = MP_LIMB_T_MAX;