summaryrefslogtreecommitdiff
path: root/plugins/media-keys
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-15 16:21:47 +0200
committerraveit65 <[email protected]>2020-07-17 09:19:27 +0200
commit660e7bb17310d4c35296ac227414bee28d3159ac (patch)
tree4adfcbb2f6db3eb6ffe34ba5a782a6dab8ab977a /plugins/media-keys
parentc8b22bdbd126244bb6b786b77ced50d6ef7ba96b (diff)
downloadmate-settings-daemon-660e7bb17310d4c35296ac227414bee28d3159ac.tar.bz2
mate-settings-daemon-660e7bb17310d4c35296ac227414bee28d3159ac.tar.xz
msd-media-keys-manager: comparison of unsigned expression in '< 0' is always false
Diffstat (limited to 'plugins/media-keys')
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c
index c4076a4..22d1a14 100644
--- a/plugins/media-keys/msd-media-keys-manager.c
+++ b/plugins/media-keys/msd-media-keys-manager.c
@@ -780,7 +780,7 @@ do_sound_action (MsdMediaKeysManager *manager,
}
update_dialog (manager,
- CLAMP (100 * volume / (volume_max - volume_min), 0, 100),
+ MIN (100 * volume / (volume_max - volume_min), 100),
muted,
sound_changed,
quiet,