Skip to content

Commit f2b9a34

Browse files
committed
audioop: explicit cast to fix a compiler warning
1 parent 313f10c commit f2b9a34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Modules/audioop.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fbound(double val, double minval, double maxval)
3737
val = maxval;
3838
else if (val < minval + 1)
3939
val = minval;
40-
return val;
40+
return (int)val;
4141
}
4242

4343

0 commit comments

Comments
 (0)