summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/backends/pulseaudio/pulse.c2
-rw-r--r--src/lib/emix.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/backends/pulseaudio/pulse.c b/src/lib/backends/pulseaudio/pulse.c
index 448b927..26c2c29 100644
--- a/src/lib/backends/pulseaudio/pulse.c
+++ b/src/lib/backends/pulseaudio/pulse.c
@@ -51,7 +51,7 @@ static pa_cvolume
51_emix_volume_convert(const Emix_Volume volume) 51_emix_volume_convert(const Emix_Volume volume)
52{ 52{
53 pa_cvolume vol; 53 pa_cvolume vol;
54 int i; 54 unsigned int i;
55 55
56 vol.channels = volume.channel_count; 56 vol.channels = volume.channel_count;
57 for (i = 0; i < volume.channel_count; i++) 57 for (i = 0; i < volume.channel_count; i++)
diff --git a/src/lib/emix.h b/src/lib/emix.h
index 4a7d821..145df46 100644
--- a/src/lib/emix.h
+++ b/src/lib/emix.h
@@ -9,7 +9,7 @@ EAPI extern int EMIX_SINK_INPUT_EVENT;
9EAPI extern int EMIX_SOURCE_EVENT; 9EAPI extern int EMIX_SOURCE_EVENT;
10 10
11typedef struct _Emix_Volume { 11typedef struct _Emix_Volume {
12 int channel_count; 12 unsigned int channel_count;
13 // the index of the field is the id of the channel, the value the volume 13 // the index of the field is the id of the channel, the value the volume
14 int *volumes; 14 int *volumes;
15} Emix_Volume; 15} Emix_Volume;