Commit 9d777c41 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels
Browse files

mixer-control: fix -Wsign-compare warnings

headset_card type is changed from int to guint32 to match uint32_t
used in PulseAudio's pa_card_info struct.
parent f13437ee
Pipeline #168634 passed with stage
in 4 minutes and 57 seconds
......@@ -2096,7 +2096,7 @@ create_ui_device_from_card (GvcMixerControl *control,
#ifdef HAVE_ALSA
typedef struct {
char *port_name_to_set;
int headset_card;
guint32 headset_card;
} PortStatusData;
static void
......@@ -2124,7 +2124,7 @@ sink_info_cb (pa_context *c,
{
PortStatusData *data = userdata;
pa_operation *o;
int j;
guint j;
const char *s;
if (eol != 0) {
......@@ -2160,7 +2160,7 @@ source_info_cb (pa_context *c,
{
PortStatusData *data = userdata;
pa_operation *o;
int j;
guint j;
const char *s;
if (eol != 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment