summaryrefslogtreecommitdiff
path: root/tests/tatan.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-08-11 22:41:05 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-08-11 22:41:05 +0000
commit0c9504b850d6570a10957f304b2962a251494fb1 (patch)
tree798eb67504d0b875f65f485f951e1efa236c8bbb /tests/tatan.c
parent53d54b5d275d48882cfb30de4dfc8d829af99805 (diff)
downloadmpfr-0c9504b850d6570a10957f304b2962a251494fb1.tar.gz
Fixed mpfr_inits and mpfr_clears calls in tests/tatan.c.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4752 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tatan.c')
-rw-r--r--tests/tatan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tatan.c b/tests/tatan.c
index acff7e46d..e08a11836 100644
--- a/tests/tatan.c
+++ b/tests/tatan.c
@@ -358,7 +358,7 @@ smallvals_atan2 (void)
{
mpfr_t a, x, y;
- mpfr_inits (a, x, y, NULL);
+ mpfr_inits (a, x, y, (void *) 0);
mpfr_set_ui (y, 0, GMP_RNDN);
mpfr_nextbelow (y);
mpfr_set_ui (x, 1, GMP_RNDN);
@@ -370,7 +370,7 @@ smallvals_atan2 (void)
mpfr_atan2 (a, y, x, GMP_RNDU);
MPFR_ASSERTN (mpfr_zero_p (a) && MPFR_IS_NEG(a));
- mpfr_clears (a, x, y, NULL);
+ mpfr_clears (a, x, y, (void *) 0);
}
int