diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-03-02 12:41:24 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2011-03-02 15:02:42 +0000 |
commit | 9cbf19b59b3db50f2f91fdf5aa206889d97ed057 (patch) | |
tree | 359eb8332e395fcc1ff4e2b2ba90556e1cd710c9 /src/pulse | |
parent | 53695b83dcd15df981b131b2cdd927d9f984a966 (diff) |
Various fixes for build warnings
Diffstat (limited to 'src/pulse')
-rw-r--r-- | src/pulse/volume.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/volume.c b/src/pulse/volume.c index f74d7202..c1f4dad0 100644 --- a/src/pulse/volume.c +++ b/src/pulse/volume.c @@ -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) { |