summaryrefslogtreecommitdiff
path: root/tests/terf.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/terf.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/terf.c')
-rw-r--r--tests/terf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/terf.c b/tests/terf.c
index 25a0bfd9d..0a9d283e6 100644
--- a/tests/terf.c
+++ b/tests/terf.c
@@ -364,7 +364,7 @@ special_erfc (void)
{
mpfr_t x, y;
- mpfr_inits (x, y, NULL);
+ mpfr_inits (x, y, (void *) 0);
/* erfc (NaN) = NaN */
mpfr_set_nan (x);
@@ -405,7 +405,7 @@ special_erfc (void)
exit (1);
}
- mpfr_clears (x, y, NULL);
+ mpfr_clears (x, y, (void *) 0);
}
static void