summaryrefslogtreecommitdiff
path: root/tests/tsin.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-06-21 11:53:16 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-06-21 11:53:16 +0000
commitb6cf60ef092b5bb353cf364a517ce2d0005cfcdd (patch)
treef30f993c052459e25a34b39200a9b1a74475072e /tests/tsin.c
parentc599cd48f2238d6198a580c279011d34b64148c6 (diff)
downloadmpfr-b6cf60ef092b5bb353cf364a517ce2d0005cfcdd.tar.gz
Corrected mpfr_inits, mpfr_inits2 and mpfr_clears calls with NULL
argument (-> (void *) 0). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4557 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsin.c')
-rw-r--r--tests/tsin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsin.c b/tests/tsin.c
index e7a80e154..760f4b904 100644
--- a/tests/tsin.c
+++ b/tests/tsin.c
@@ -210,7 +210,7 @@ check_regression ()
int i;
p = strlen (xs) - 2 - 3;
- mpfr_inits2 (p, x, y, NULL);
+ mpfr_inits2 (p, x, y, (void *) 0);
mpfr_set_str (x, xs, 2, GMP_RNDN);
i = mpfr_sin (y, x, GMP_RNDN);
@@ -222,7 +222,7 @@ check_regression ()
mpfr_dump (y);
exit (1);
}
- mpfr_clears (x, y, NULL);
+ mpfr_clears (x, y, (void *) 0);
}
/* Test provided by Christopher Creutzig, 2007-05-21. */