summaryrefslogtreecommitdiff
path: root/set_si.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2001-08-10 15:40:56 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2001-08-10 15:40:56 +0000
commite1329af93f718bef1d2bd129c2695af52226b8a3 (patch)
tree318e93cd5fa5df4b79b088a2a2ae534633ea2873 /set_si.c
parentfddbcfcb119c42a524ca32c59aba6b77eb1a05fc (diff)
downloadmpfr-e1329af93f718bef1d2bd129c2695af52226b8a3.tar.gz
Bugs fixed (wrong types).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1108 280ebfd0-de03-0410-8827-d642c229c3f4
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; }