summaryrefslogtreecommitdiff
path: root/tests/tzeta.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tzeta.c')
-rw-r--r--tests/tzeta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tzeta.c b/tests/tzeta.c
index 1519b26c0..efc4b999f 100644
--- a/tests/tzeta.c
+++ b/tests/tzeta.c
@@ -1,6 +1,6 @@
/* tzeta -- test file for the Riemann Zeta function
-Copyright 2003, 2004 Free Software Foundation.
+Copyright 2003, 2004, 2005 Free Software Foundation.
Contributed by Jean-Luc Re'my and the Spaces project, INRIA Lorraine.
This file is part of the MPFR Library.
@@ -215,7 +215,7 @@ main (int argc, char *argv[])
mpfr_init2 (s, prec);
mpfr_init2 (z, prec);
mpfr_set_str (s, argv[1], 10, GMP_RNDN);
- rnd_mode = atoi(argv[3]);
+ rnd_mode = (mp_rnd_t) atoi(argv[3]);
mpfr_zeta (z, s, rnd_mode);
mpfr_out_str (stdout, 10, 0, z, GMP_RNDN);