Skip to content

Commit 87bcef3

Browse files
Merge pull request #73 from ssaue/ss-visual-studio-fix
Fix compiler exception in Visual Studio
2 parents b6fe188 + 75db2bf commit 87bcef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/modules/saf_utilities/saf_utility_filters.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static void applyWindowingFunction
6666

6767
case WINDOWING_FUNCTION_BARTLETT:
6868
for(i=0; i<winlength; i++)
69-
x[i] *= 1.0f - 2.0f * fabsf((float)i-((float)N/2.0f))/(float)N;
69+
x[i] *= 1.0f - 2.0f * (fabsf((float)i-((float)N/2.0f))/(float)N);
7070
break;
7171

7272
case WINDOWING_FUNCTION_BLACKMAN:

0 commit comments

Comments
 (0)