diff --git a/external/lgpl3/gmp/dist/mpn/generic/get_d.c b/external/lgpl3/gmp/dist/mpn/generic/get_d.c index fdb6e7056241..cc755a1b503b 100644 --- a/external/lgpl3/gmp/dist/mpn/generic/get_d.c +++ b/external/lgpl3/gmp/dist/mpn/generic/get_d.c @@ -220,7 +220,7 @@ mpn_get_d (mp_srcptr up, mp_size_t size, mp_size_t sign, long exp) x <<= GMP_NAIL_BITS; mhi |= x >> nbits >> 11; - mlo = x << GMP_LIMB_BITS - nbits - 11; + mlo = x << (GMP_LIMB_BITS - nbits - 11); nbits = nbits + 11 - GMP_NAIL_BITS; } else