mirror of
https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
synced 2024-11-21 08:20:40 -05:00
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.
This commit is contained in:
parent
15980858d3
commit
0aab80a78c
@ -2096,7 +2096,7 @@ create_ui_device_from_card (GvcMixerControl *control,
|
|||||||
#ifdef HAVE_ALSA
|
#ifdef HAVE_ALSA
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char *port_name_to_set;
|
char *port_name_to_set;
|
||||||
int headset_card;
|
guint32 headset_card;
|
||||||
} PortStatusData;
|
} PortStatusData;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -2124,7 +2124,7 @@ sink_info_cb (pa_context *c,
|
|||||||
{
|
{
|
||||||
PortStatusData *data = userdata;
|
PortStatusData *data = userdata;
|
||||||
pa_operation *o;
|
pa_operation *o;
|
||||||
int j;
|
guint j;
|
||||||
const char *s;
|
const char *s;
|
||||||
|
|
||||||
if (eol != 0) {
|
if (eol != 0) {
|
||||||
@ -2160,7 +2160,7 @@ source_info_cb (pa_context *c,
|
|||||||
{
|
{
|
||||||
PortStatusData *data = userdata;
|
PortStatusData *data = userdata;
|
||||||
pa_operation *o;
|
pa_operation *o;
|
||||||
int j;
|
guint j;
|
||||||
const char *s;
|
const char *s;
|
||||||
|
|
||||||
if (eol != 0) {
|
if (eol != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user