diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2019-12-25 19:20:46 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2020-04-09 13:53:36 +0000 |
commit | d8ba41f1d2982afdc5579dd2e73b84bd021e6230 (patch) | |
tree | d5b703cd9994ff3f53c2c948026d338646c8e9a7 | |
parent | 342e366eded97df48cef61b71bfd6b3481c69f06 (diff) | |
download | libgnome-volume-control-d8ba41f1d2982afdc5579dd2e73b84bd021e6230.tar.gz |
test-audio-device-selection: fix -Wsign-compare warning
-rw-r--r-- | test-audio-device-selection.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |