[libgnome-volume-control/wip/muktupavels/warnings: 4/6] test-audio-device-selection: fix -Wsign-compare warning
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-volume-control/wip/muktupavels/warnings: 4/6] test-audio-device-selection: fix -Wsign-compare warning
- Date: Thu, 9 Apr 2020 13:53:57 +0000 (UTC)
commit d8ba41f1d2982afdc5579dd2e73b84bd021e6230
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Dec 25 19:20:46 2019 +0200
test-audio-device-selection: fix -Wsign-compare warning
test-audio-device-selection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/test-audio-device-selection.c b/test-audio-device-selection.c
index b276a8c..4b930a1 100644
--- a/test-audio-device-selection.c
+++ b/test-audio-device-selection.c
@@ -51,7 +51,7 @@ audio_selection_needed (GvcMixerControl *volume,
g_print ("What is your choice?\n");
if (scanf ("%d", &res) == 1 &&
res > 0 &&
- res < g_strv_length (args)) {
+ res < (int) g_strv_length (args)) {
response = res;
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]