summaryrefslogtreecommitdiff
path: root/tests/tzeta.c
diff options
context:
space:
mode:
author(no author) <(no author)@280ebfd0-de03-0410-8827-d642c229c3f4>2005-02-23 15:31:34 +0000
committer(no author) <(no author)@280ebfd0-de03-0410-8827-d642c229c3f4>2005-02-23 15:31:34 +0000
commit3ba60c4696b29ec5e6fdf1eb857e62a08db10bf6 (patch)
tree7015d2b8400e39199a46502bd34726fc83cc9ba5 /tests/tzeta.c
parent72f6fe2312386189718003ff74b1be84c869d675 (diff)
downloadmpfr-2-1-1-rel.tar.gz
This commit was manufactured by cvs2svn to create tagmpfr-2-1-1-rel
'mpfr-2-1-1-rel'. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/tags/mpfr-2-1-1-rel@3351 280ebfd0-de03-0410-8827-d642c229c3f4
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);