mirror of https://github.com/python/cpython.git
audioop: explicit cast to fix a compiler warning
This commit is contained in:
parent
313f10c722
commit
f2b9a340ef
|
@ -37,7 +37,7 @@ fbound(double val, double minval, double maxval)
|
||||||
val = maxval;
|
val = maxval;
|
||||||
else if (val < minval + 1)
|
else if (val < minval + 1)
|
||||||
val = minval;
|
val = minval;
|
||||||
return val;
|
return (int)val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue