aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/filter/route_filter_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter/route_filter_plugin.c b/src/filter/route_filter_plugin.c
index 4f8f4cde1..6b9aa2a2f 100644
--- a/src/filter/route_filter_plugin.c
+++ b/src/filter/route_filter_plugin.c
@@ -310,7 +310,7 @@ route_filter_filter(struct filter *_filter,
// Need to perform one copy per output channel
for (unsigned int c=0; c<filter->min_output_channels; ++c) {
if (filter->sources[c] == -1 ||
- filter->sources[c] >= filter->input_format.channels) {
+ (unsigned)filter->sources[c] >= filter->input_format.channels) {
// No source for this destination output,
// give it zeroes as input
memset(chan_destination,