summaryrefslogtreecommitdiff
path: root/src/set_ui_2exp.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-02-11 14:40:11 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-02-11 14:40:11 +0000
commitcf2ce85c29011f365daaa4554dcd1dd275f6ac7a (patch)
tree7a52cbc97ca98d7faa8407bc59007d5a94ca10fc /src/set_ui_2exp.c
parent78924fc6e43d1c815953f47030899d09bf485961 (diff)
downloadmpfr-cf2ce85c29011f365daaa4554dcd1dd275f6ac7a.tar.gz
[src/{set_ui_2exp.c,set_uj.c}] Fixed types of some variables, in
particular unsigned → signed conversion of non-representable value under some conditions. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8940 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/set_ui_2exp.c')
-rw-r--r--src/set_ui_2exp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/set_ui_2exp.c b/src/set_ui_2exp.c
index a08623187..7b78f2e2b 100644
--- a/src/set_ui_2exp.c
+++ b/src/set_ui_2exp.c
@@ -37,7 +37,7 @@ mpfr_set_ui_2exp (mpfr_ptr x, unsigned long i, mpfr_exp_t e, mpfr_rnd_t rnd_mode
else
{
mp_size_t xn;
- unsigned int cnt, nbits;
+ int cnt, nbits;
mp_limb_t *xp;
int inex = 0;