summaryrefslogtreecommitdiff
path: root/mpf
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-06-07 10:17:58 +0200
committertege <tege@gmplib.org>2000-06-07 10:17:58 +0200
commit32d9c1284dbab44d31f25e1d6fbb0ba655914f34 (patch)
treee128c5e0cb725c979b558d8043164c1ea9ec06ef /mpf
parent33690ab5ef202fe1a1abe2dbbd0c1d35e50457ac (diff)
downloadgmp-32d9c1284dbab44d31f25e1d6fbb0ba655914f34.tar.gz
MPN_COPY => MPN_COPY_INCR.
Diffstat (limited to 'mpf')
-rw-r--r--mpf/set_prc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpf/set_prc.c b/mpf/set_prc.c
index 10f2b0671..4969a00e1 100644
--- a/mpf/set_prc.c
+++ b/mpf/set_prc.c
@@ -1,6 +1,6 @@
/* mpf_set_prec(x) -- Change the precision of x.
-Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
+Copyright (C) 1993, 1994, 1995, 2000 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -43,7 +43,7 @@ mpf_set_prec (x, prec_in_bits)
mp_size_t offset = size - (prec + 1);
mp_ptr xp = x->_mp_d;
- MPN_COPY (xp, xp + offset, prec + 1);
+ MPN_COPY_INCR (xp, xp + offset, prec + 1);
}
x->_mp_d = (mp_ptr) (*_mp_reallocate_func)