summaryrefslogtreecommitdiff
path: root/src/add1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/add1.c')
-rw-r--r--src/add1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/add1.c b/src/add1.c
index 880c49ccf..f1419f7f1 100644
--- a/src/add1.c
+++ b/src/add1.c
@@ -404,7 +404,7 @@ mpfr_add1 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode)
if (fb || ck < 0)
goto rounding;
- if (difs && MPFR_LIMB(cprev << (GMP_NUMB_BITS - difs)) != 0)
+ if (difs && MPFR_LIMB_LSHIFT(cprev, GMP_NUMB_BITS - difs) != 0)
{
fb = 1;
goto rounding;