diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-04-19 12:01:16 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-04-19 12:01:16 +0000 |
commit | 73a7c65e1ebdfa0010e59ede641b50aa125483d7 (patch) | |
tree | faab05380fe5df82f0a6c8e4871050a9b0a25e61 /cmp_si.c | |
parent | 4da1cab2193feca71fa82d0fee20a0b631d6c020 (diff) | |
download | mpfr-73a7c65e1ebdfa0010e59ede641b50aa125483d7.tar.gz |
SAFE_ABS changed so that it can be used for any unsigned type.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1899 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'cmp_si.c')
-rw-r--r-- | cmp_si.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ mpfr_cmp_si_2exp (mpfr_srcptr b, long int i, mp_exp_t f) mp_size_t bn; mp_limb_t c, *bp; - ai = SAFE_ABS(long, i); + ai = SAFE_ABS(unsigned long, i); /* ai must be representable in a mp_limb_t */ MPFR_ASSERTN(ai == (mp_limb_t) ai); |