diff options
author | Max Kellermann <max@duempel.org> | 2010-06-06 21:56:30 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-06-06 21:56:30 +0200 |
commit | d0d2d6ed1bd197120c78042594291ada2bd6af60 (patch) | |
tree | c65b5aafc2a0951e3272798ec20c5802ada88494 /src | |
parent | 4e83b79d2b5795120c7763970c974e4dcc8c915a (diff) | |
download | mpd-d0d2d6ed1bd197120c78042594291ada2bd6af60.tar.gz mpd-d0d2d6ed1bd197120c78042594291ada2bd6af60.tar.xz mpd-d0d2d6ed1bd197120c78042594291ada2bd6af60.zip |
filter/route: fixed unsigned/signed comparison
Fixes a clang warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/filter/route_filter_plugin.c | 2 |
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, |