summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test-audio-device-selection.c2
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;
}