]> www.ginac.de Git - cln.git/commitdiff
Avoid "suggest parentheses around ‘-’ inside ‘>>’" warning.
authorBruno Haible <bruno@clisp.org>
Sun, 27 Oct 2019 13:07:49 +0000 (14:07 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 27 Oct 2019 13:07:49 +0000 (14:07 +0100)
src/integer/conv/cl_I_from_digits.cc

index e51c20a114cfa1a5f79a314def1605c359a29ba2..681c51dde796a72f7ad30cb809b20cf5aa6cc1c5 100644 (file)
@@ -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++;
                        }
                }