diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2019-12-25 19:56:45 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2020-04-09 13:53:36 +0000 |
commit | 0aab80a78c6eabfe77f81cc30f2b2cade4ea1a58 (patch) | |
tree | ec16a10abf8f683e5ea178aef023de6ccd70d7cc /gvc-mixer-control.c | |
parent | 15980858d39ac3e4d6954e75c35caf5f8ea18358 (diff) | |
download | libgnome-volume-control-0aab80a78c6eabfe77f81cc30f2b2cade4ea1a58.tar.gz |
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.
Diffstat (limited to 'gvc-mixer-control.c')
-rw-r--r-- | gvc-mixer-control.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gvc-mixer-control.c b/gvc-mixer-control.c index 04644d7..a43ae1d 100644 --- a/gvc-mixer-control.c +++ b/gvc-mixer-control.c @@ -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) { |