From d8ba41f1d2982afdc5579dd2e73b84bd021e6230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Wed, 25 Dec 2019 19:20:46 +0200 Subject: 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; } -- cgit v1.2.1