From 898d13df2a7e03e0cacd1241f0593f7fc756bba3 Mon Sep 17 00:00:00 2001 From: BrainKicker <30545094+BrainKicker@users.noreply.github.com> Date: Sat, 14 Jan 2023 22:10:00 +0300 Subject: [PATCH] Changed MIN_VOLUME and MAX_VOLUME constants from int to long to match variable "vol" --- alsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alsa.c b/alsa.c index 33ab1f8c..58a30eb5 100644 --- a/alsa.c +++ b/alsa.c @@ -50,8 +50,8 @@ # define ALSA_CHECK(...) do {} while (0) #endif -static const int MIN_VOLUME = 0; -static const int MAX_VOLUME = 150; +static const long MIN_VOLUME = 0; +static const long MAX_VOLUME = 150; static snd_pcm_t *handle = NULL;