Various fixes for build warnings

This commit is contained in:
Maarten Bosmans 2011-03-02 12:41:24 +01:00 committed by Colin Guthrie
parent 53695b83dc
commit 9cbf19b59b
5 changed files with 7 additions and 13 deletions

View file

@ -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) {