spandsp trivial compiler warning - oops better do this instead

This commit is contained in:
Jeff Lenk 2013-03-09 11:00:07 -06:00
parent a324d46025
commit 76dc11585d

View File

@ -369,7 +369,7 @@ static __inline__ int16_t saturated_mul16(int16_t a, int16_t b)
if (product == 0x40000000)
return INT16_MAX;
/*endif*/
return (int16_t)product >> 15;
return (int16_t)(product >> 15);
}
/*- End of function --------------------------------------------------------*/