summaryrefslogtreecommitdiff
path: root/set_si.c
diff options
context:
space:
mode:
Diffstat (limited to 'set_si.c')
-rw-r--r--set_si.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/set_si.c b/set_si.c
index 20abb0e7f..6facfd346 100644
--- a/set_si.c
+++ b/set_si.c
@@ -36,7 +36,9 @@ mpfr_set_si (x, i, rnd_mode)
mp_rnd_t rnd_mode;
#endif
{
- unsigned long xn, cnt; mp_limb_t ai, *xp;
+ mp_size_t xn;
+ unsigned int cnt;
+ mp_limb_t ai, *xp;
MPFR_CLEAR_FLAGS(x);
if (i==0) { MPFR_SET_ZERO(x); return; }