diff options
author | Max Kellermann <max@duempel.org> | 2009-11-12 09:16:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-12 09:16:34 +0100 |
commit | 8068fd5228472387cc83b49ed4e9710f8452b865 (patch) | |
tree | 4800c4547380957fdf1a76346b3d42619039f89e | |
parent | b9c610ac87ab48247be83fc66f9d7af84b54f52f (diff) | |
download | mpd-8068fd5228472387cc83b49ed4e9710f8452b865.tar.gz mpd-8068fd5228472387cc83b49ed4e9710f8452b865.tar.xz mpd-8068fd5228472387cc83b49ed4e9710f8452b865.zip |
decoder/vorbis: fixed gcc "signed" warning
Diffstat (limited to '')
-rwxr-xr-x | src/decoder/vorbis_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/vorbis_plugin.c b/src/decoder/vorbis_plugin.c index 901356fe5..0f37956ae 100755 --- a/src/decoder/vorbis_plugin.c +++ b/src/decoder/vorbis_plugin.c @@ -355,8 +355,8 @@ vorbis_stream_decode(struct decoder *decoder, break; } - if (vi->rate != audio_format.sample_rate || - vi->channels != audio_format.channels) { + if (vi->rate != (long)audio_format.sample_rate || + vi->channels != (int)audio_format.channels) { /* we don't support audio format change yet */ g_warning("audio format change, stopping here"); |