Commit d0d2d6ed authored by Max Kellermann's avatar Max Kellermann

filter/route: fixed unsigned/signed comparison

Fixes a clang warning.
parent 4e83b79d
...@@ -310,7 +310,7 @@ route_filter_filter(struct filter *_filter, ...@@ -310,7 +310,7 @@ route_filter_filter(struct filter *_filter,
// Need to perform one copy per output channel // Need to perform one copy per output channel
for (unsigned int c=0; c<filter->min_output_channels; ++c) { for (unsigned int c=0; c<filter->min_output_channels; ++c) {
if (filter->sources[c] == -1 || 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, // No source for this destination output,
// give it zeroes as input // give it zeroes as input
memset(chan_destination, memset(chan_destination,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment