From: Bruno Haible Date: Sun, 27 Oct 2019 13:07:49 +0000 (+0100) Subject: Avoid "suggest parentheses around ‘-’ inside ‘>>’" warning. X-Git-Tag: cln_1-3-5~32 X-Git-Url: https://www.ginac.de/CLN/cln.git//cln.git?a=commitdiff_plain;h=aed2e44d1be79ab649ba45512ee51cfaa21bc1d0;p=cln.git Avoid "suggest parentheses around ‘-’ inside ‘>>’" warning. --- diff --git a/src/integer/conv/cl_I_from_digits.cc b/src/integer/conv/cl_I_from_digits.cc index e51c20a..681c51d 100644 --- a/src/integer/conv/cl_I_from_digits.cc +++ b/src/integer/conv/cl_I_from_digits.cc @@ -49,7 +49,7 @@ static const cl_I digits_to_I_base2 (const char * MSBptr, uintC len, uintD base) // d is ready to be written into the NUDS: lsprefnext(erg_MSDptr) = d; ch_where = ch_where-intDsize; - d = (uintD)ch >> b-ch_where; // carry + d = (uintD)ch >> (b-ch_where); // carry erg_len++; } }