summaryrefslogtreecommitdiff
path: root/mul.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-11-21 16:26:19 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-11-21 16:26:19 +0000
commit83c4428fadeab214993b680317a727cb1e2a50a1 (patch)
tree879c0082a45679d0e54946f5449d7762b58b38c3 /mul.c
parent41d7b44241b63a451c3e664bdd9a640a4c255291 (diff)
downloadmpfr-83c4428fadeab214993b680317a727cb1e2a50a1.tar.gz
Remove some warnings and potential errors (Comparaison between signed and unsigned).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2563 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mul.c')
-rw-r--r--mul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mul.c b/mul.c
index a40283774..3aa8266d5 100644
--- a/mul.c
+++ b/mul.c
@@ -121,7 +121,7 @@ mpfr_mul (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t rnd_mode)
MPFR_ASSERTD(tn <= k);
/* Check for no size_t overflow*/
- MPFR_ASSERTD(k <= ((size_t) ~0) / BYTES_PER_MP_LIMB);
+ MPFR_ASSERTD((size_t) k <= ((size_t) ~0) / BYTES_PER_MP_LIMB);
TMP_MARK(marker);
tmp = (mp_limb_t *) TMP_ALLOC((size_t) k * BYTES_PER_MP_LIMB);