]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
spandsp trivial compiler warning - oops better do this instead
authorJeff Lenk <jeff@jefflenk.com>
Sat, 9 Mar 2013 17:00:07 +0000 (11:00 -0600)
committerJeff Lenk <jeff@jefflenk.com>
Sat, 9 Mar 2013 17:00:07 +0000 (11:00 -0600)
libs/spandsp/src/spandsp/saturated.h

index a508e860c2b007bd8dddbbfb5c51d145b6376f94..aaa760a7adcc06c77d9c1f58ea68fbe80b86e81a 100644 (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 --------------------------------------------------------*/