diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-06-08 12:34:21 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-06-08 12:34:21 +0000 |
commit | 94be8cbd776f1a799f021e939efabe87b0a8a052 (patch) | |
tree | e05d19c143a6148f7c21daee8b8388d61f296a33 /zeta.c | |
parent | 71b86206d948c3c0fc94c696aa2a30e26a1a083e (diff) | |
download | mpfr-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |