test-audio-device-selection: fix -Wsign-compare warning

This commit is contained in:
Alberts Muktupāvels 2019-12-25 19:20:46 +02:00
parent 342e366ede
commit d8ba41f1d2

View File

@ -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;
}