diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-02-24 13:23:35 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-02-24 13:23:35 +0000 |
commit | 98127874b53bdb6ff58610957055bef91fbd7087 (patch) | |
tree | 7ae98077352d0cdab1f3300fd1cf2c4e0bfa0cd9 /set_d.c | |
parent | 53062736c152be21b77b11fec1a29699e6c7a30c (diff) | |
download | mpfr-98127874b53bdb6ff58610957055bef91fbd7087.tar.gz |
Remove some warnings.
MPFR can be compiled (but not checked!) with a C++ compiler.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2802 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'set_d.c')
-rw-r--r-- | set_d.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -128,8 +128,8 @@ __mpfr_extract_double (mp_ptr rp, double d) #if BITS_PER_MP_LIMB >= 64 manl = d; #else - manh = d; - manl = (d - manh) * MP_BASE_AS_DOUBLE; + manh = (mp_limb_t) d; + manl = (mp_limb_t) ((d - manh) * MP_BASE_AS_DOUBLE); #endif } |