Adds many syntactically unnecessary parentheses to silence MSVC C4554.

The object code is unchanged.
This commit is contained in:
Gregory Maxwell 2011-08-30 14:02:41 -04:00
parent be89c39587
commit 75d27803d5
9 changed files with 30 additions and 30 deletions

View file

@ -48,11 +48,11 @@ unsigned isqrt32(opus_uint32 _val){
The main idea is to search for the largest binary digit b such that
(g+b)*(g+b) <= _val, and add it to the solution g.*/
g=0;
bshift=EC_ILOG(_val)-1>>1;
bshift=(EC_ILOG(_val)-1)>>1;
b=1U<<bshift;
do{
opus_uint32 t;
t=((opus_uint32)g<<1)+b<<bshift;
t=(((opus_uint32)g<<1)+b)<<bshift;
if(t<=_val){
g+=b;
_val-=t;