summaryrefslogtreecommitdiff
path: root/tests/tsi_op.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/tsi_op.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/tsi_op.c')
-rw-r--r--tests/tsi_op.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsi_op.c b/tests/tsi_op.c
index a17e53006..3fbe72e34 100644
--- a/tests/tsi_op.c
+++ b/tests/tsi_op.c
@@ -103,7 +103,7 @@ main (int argc, char *argv[])
MPFR_TEST_USE_RANDS ();
tests_start_mpfr ();
- mpfr_inits2 (53, x, z, NULL);
+ mpfr_inits2 (53, x, z, (void *) 0);
for(i = 0 ; i < numberof (tab) ; i++)
{
mpfr_set_str (x, tab[i].op1, 16, GMP_RNDN);
@@ -133,7 +133,7 @@ main (int argc, char *argv[])
if (mpfr_cmp_str1 (z, "-1024"))
ERROR1("si_div", i, z, "-1024");
- mpfr_clears (x, z, NULL);
+ mpfr_clears (x, z, (void *) 0);
check_invert ();