summaryrefslogtreecommitdiff
path: root/tests/tsqr.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/tsqr.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/tsqr.c')
-rw-r--r--tests/tsqr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsqr.c b/tests/tsqr.c
index 7a50f9d2d..2850c01f3 100644
--- a/tests/tsqr.c
+++ b/tests/tsqr.c
@@ -76,7 +76,7 @@ void check_random(mpfr_prec_t p)
int r;
int i, inexact1, inexact2;
- mpfr_inits2(p, x, y, z, NULL);
+ mpfr_inits2 (p, x, y, z, (void *) 0);
for(i = 0 ; i < 500 ; i++)
{
mpfr_random (x);
@@ -91,7 +91,7 @@ void check_random(mpfr_prec_t p)
error2 ((mp_rnd_t) r,p,x,y,inexact1,inexact2);
}
}
- mpfr_clears(x,y,z,NULL);
+ mpfr_clears (x, y, z, (void *) 0);
}
void check_special(void)