[libgnome-volume-control/wip/muktupavels/warnings: 4/6] test-audio-device-selection: fix -Wsign-compare warning



commit 3ab5442e9d1d366a2d74678230f583073fce38d4
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..ef0d37b 100644
--- a/test-audio-device-selection.c
+++ b/test-audio-device-selection.c
@@ -46,7 +46,7 @@ audio_selection_needed (GvcMixerControl      *volume,
                g_print ("    %d. %s\n", i + 1, args[i]);
 
        for (i = 0; response < 0 && i < MAX_ATTEMPTS; i++) {
-               int res;
+               guint res;
 
                g_print ("What is your choice?\n");
                if (scanf ("%d", &res) == 1 &&


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]