提交 76dc1158 authored 作者: Jeff Lenk's avatar Jeff Lenk

spandsp trivial compiler warning - oops better do this instead

上级 a324d460
...@@ -369,7 +369,7 @@ static __inline__ int16_t saturated_mul16(int16_t a, int16_t b) ...@@ -369,7 +369,7 @@ static __inline__ int16_t saturated_mul16(int16_t a, int16_t b)
if (product == 0x40000000) if (product == 0x40000000)
return INT16_MAX; return INT16_MAX;
/*endif*/ /*endif*/
return (int16_t)product >> 15; return (int16_t)(product >> 15);
} }
/*- End of function --------------------------------------------------------*/ /*- End of function --------------------------------------------------------*/
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论