mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
Various fixes for build warnings
This commit is contained in:
parent
53695b83dc
commit
9cbf19b59b
5 changed files with 7 additions and 13 deletions
|
|
@ -263,7 +263,7 @@ pa_volume_t pa_sw_volume_from_linear(double v) {
|
|||
* same volume value! That's why we need the lround() below!
|
||||
*/
|
||||
|
||||
return (pa_volume_t) PA_CLAMP_VOLUME(lround(cbrt(v) * PA_VOLUME_NORM));
|
||||
return (pa_volume_t) PA_CLAMP_VOLUME((uint64_t) lround(cbrt(v) * PA_VOLUME_NORM));
|
||||
}
|
||||
|
||||
double pa_sw_volume_to_linear(pa_volume_t v) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue