]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
required trivial fix for windows for last spandsp commit
authorJeff Lenk <jeff@jefflenk.com>
Sat, 9 Mar 2013 15:18:09 +0000 (09:18 -0600)
committerJeff Lenk <jeff@jefflenk.com>
Sat, 9 Mar 2013 15:18:34 +0000 (09:18 -0600)
libs/spandsp/src/spandsp/saturated.h

index fcefbe96ab7a87540f7364cd7cceeaa49e8a7a99..a508e860c2b007bd8dddbbfb5c51d145b6376f94 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 product >> 15;
+    return (int16_t)product >> 15;
 }
 /*- End of function --------------------------------------------------------*/