diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-02-21 15:04:06 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-02-21 15:04:06 +0000 |
commit | 23977444173bc0f85b0a89c6eb1784e04724b174 (patch) | |
tree | 8c99c12d32e097d45593c678d5ee4f11999051d1 | |
parent | b907fa338a3e713309369d5dc634864797ff57d7 (diff) | |
download | mpfr-23977444173bc0f85b0a89c6eb1784e04724b174.tar.gz |
Fixed cast (though unnecessary).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2247 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | get_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ mpfr_get_ui (mpfr_srcptr f, mp_rnd_t rnd) mp_exp_t exp; if (!mpfr_fits_ulong_p (f, rnd) || MPFR_IS_ZERO(f)) - return (long) 0; + return (unsigned long) 0; /* determine prec of unsigned long */ for (s = ULONG_MAX, prec = 0; s != 0; s /= 2, prec ++); |