summaryrefslogtreecommitdiff
path: root/zeta.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2005-06-08 12:34:21 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2005-06-08 12:34:21 +0000
commit94be8cbd776f1a799f021e939efabe87b0a8a052 (patch)
treee05d19c143a6148f7c21daee8b8388d61f296a33 /zeta.c
parent71b86206d948c3c0fc94c696aa2a30e26a1a083e (diff)
downloadmpfr-94be8cbd776f1a799f021e939efabe87b0a8a052.tar.gz
Fix warning due to comparison of unsigned and signed integers.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3638 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'zeta.c')
-rw-r--r--zeta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zeta.c b/zeta.c
index 3732200f0..7eb5a5793 100644
--- a/zeta.c
+++ b/zeta.c
@@ -170,7 +170,7 @@ mpfr_zeta_pos (mpfr_t z, mpfr_srcptr s, mp_rnd_t rnd_mode)
{
mp_exp_t err;
err = MPFR_GET_EXP (s) - 1;
- if (err > (sizeof (mp_exp_t)*CHAR_BIT-2))
+ if (err > (mp_exp_t) (sizeof (mp_exp_t)*CHAR_BIT-2))
err = MPFR_EMAX_MAX;
else
err = ((mp_exp_t)1) << err;