aboutsummaryrefslogtreecommitdiffstats
path: root/ponymix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ponymix.cc')
-rw-r--r--ponymix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ponymix.cc b/ponymix.cc
index 1e5afae..18ddd21 100644
--- a/ponymix.cc
+++ b/ponymix.cc
@@ -332,7 +332,7 @@ static int adj_volume(PulseClient& ponymix,
// Allow setting the volume over 100, but don't "clip" the level back down to
// 100 on adjustment.
- ponymix.SetVolumeRange(0, std::max(device->Volume(), (int)opt_maxvolume));
+ ponymix.SetVolumeRange(0, std::max(device->Volume(), static_cast<int>(opt_maxvolume)));
return !(ponymix.*adjust)(*device, delta);
}