[libgnome-volume-control/wip/muktupavels/warnings] mixer-control: fix -Wsign-compare warnings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-volume-control/wip/muktupavels/warnings] mixer-control: fix -Wsign-compare warnings
- Date: Wed, 25 Dec 2019 17:57:10 +0000 (UTC)
commit d2bb0929edd803530de0cdeaf08bfdcfcc382b28
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Dec 25 19:56:45 2019 +0200
mixer-control: fix -Wsign-compare warnings
gvc-mixer-control.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gvc-mixer-control.c b/gvc-mixer-control.c
index 04644d7..64924a1 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;
+ uint32_t headset_card;
} PortStatusData;
static void
@@ -2124,7 +2124,7 @@ sink_info_cb (pa_context *c,
{
PortStatusData *data = userdata;
pa_operation *o;
- int j;
+ unsigned int 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;
+ unsigned int j;
const char *s;
if (eol != 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]