From: Jeff Lenk Date: Sat, 9 Mar 2013 17:00:07 +0000 (-0600) Subject: spandsp trivial compiler warning - oops better do this instead X-Git-Tag: v1.3.17-final~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76dc11585d53133181ddda1639bc1ffa7f64ad0e;p=thirdparty%2Ffreeswitch.git spandsp trivial compiler warning - oops better do this instead --- diff --git a/libs/spandsp/src/spandsp/saturated.h b/libs/spandsp/src/spandsp/saturated.h index a508e860c2..aaa760a7ad 100644 --- a/libs/spandsp/src/spandsp/saturated.h +++ b/libs/spandsp/src/spandsp/saturated.h @@ -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 --------------------------------------------------------*/