summaryrefslogtreecommitdiff
path: root/tests/tset_sj.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/tset_sj.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/tset_sj.c')
-rw-r--r--tests/tset_sj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tset_sj.c b/tests/tset_sj.c
index 10a2dc943..2d1eec6ce 100644
--- a/tests/tset_sj.c
+++ b/tests/tset_sj.c
@@ -65,7 +65,7 @@ check_set_uj (mp_prec_t pmin, mp_prec_t pmax, int N)
int inex1, inex2, n;
mp_limb_t limb;
- mpfr_inits2 (pmax, x, y, NULL);
+ mpfr_inits2 (pmax, x, y, (void *) 0);
for ( p = pmin ; p < pmax ; p++)
{
@@ -107,7 +107,7 @@ check_set_uj (mp_prec_t pmin, mp_prec_t pmax, int N)
if (!MPFR_IS_ZERO (x))
ERROR ("Setting 0");
- mpfr_clears (x, y, NULL);
+ mpfr_clears (x, y, (void *) 0);
}
static void