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



commit 14bc4583899f2e279418f65e71e47e12f17a5508
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]