summaryrefslogtreecommitdiff
path: root/tests/tcos.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcos.c')
-rw-r--r--tests/tcos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcos.c b/tests/tcos.c
index f485f37a1..795e8ebcc 100644
--- a/tests/tcos.c
+++ b/tests/tcos.c
@@ -53,7 +53,7 @@ check53 (const char *xs, const char *cos_xs, mp_rnd_t rnd_mode)
{
mpfr_t xx, c;
- mpfr_inits2 (53, xx, c, NULL);
+ mpfr_inits2 (53, xx, c, (void *) 0);
mpfr_set_str1 (xx, xs); /* should be exact */
test_cos (c, xx, rnd_mode);
if (mpfr_cmp_str1 (c, cos_xs))
@@ -65,7 +65,7 @@ check53 (const char *xs, const char *cos_xs, mp_rnd_t rnd_mode)
printf(", expected %s\n", cos_xs);
exit (1);
}
- mpfr_clears (xx, c, NULL);
+ mpfr_clears (xx, c, (void *) 0);
}
#define TEST_FUNCTION test_cos