From a324d460256d246483c28263e39799acd2853e64 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Sat, 9 Mar 2013 09:18:09 -0600 Subject: [PATCH] required trivial fix for windows for last spandsp commit --- libs/spandsp/src/spandsp/saturated.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/spandsp/src/spandsp/saturated.h b/libs/spandsp/src/spandsp/saturated.h index fcefbe96ab..a508e860c2 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 product >> 15; + return (int16_t)product >> 15; } /*- End of function --------------------------------------------------------*/