mirror of
https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
synced 2024-11-21 08:20:40 -05:00
test-audio-device-selection: fix -Wsign-compare warning
This commit is contained in:
parent
342e366ede
commit
d8ba41f1d2
@ -51,7 +51,7 @@ audio_selection_needed (GvcMixerControl *volume,
|
|||||||
g_print ("What is your choice?\n");
|
g_print ("What is your choice?\n");
|
||||||
if (scanf ("%d", &res) == 1 &&
|
if (scanf ("%d", &res) == 1 &&
|
||||||
res > 0 &&
|
res > 0 &&
|
||||||
res < g_strv_length (args)) {
|
res < (int) g_strv_length (args)) {
|
||||||
response = res;
|
response = res;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user