diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-11-19 16:26:22 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-11-19 16:26:22 +0000 |
commit | 9e1957a69f1650509ac1d9ca85378a67d20e80f6 (patch) | |
tree | f528aeff0bf822538f5c404d028271e5d81656c9 /div_ui.c | |
parent | 5b409642c9189326907243df52580e39746ed5fc (diff) | |
download | mpfr-9e1957a69f1650509ac1d9ca85378a67d20e80f6.tar.gz |
added explicit cast
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2076 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'div_ui.c')
-rw-r--r-- | div_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -86,7 +86,7 @@ mpfr_div_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int u, mp_rnd_t rnd_mode) /* we need to store yn+1 = xn + dif limbs of the quotient */ /* don't use tmp=yp since the mpn_lshift call below requires yp >= tmp+1 */ - tmp = TMP_ALLOC((yn + 1) * BYTES_PER_MP_LIMB); + tmp = (mp_limb_t*) TMP_ALLOC((yn + 1) * BYTES_PER_MP_LIMB); c = (mp_limb_t) u; MPFR_ASSERTN(u == c); |