aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-12 09:16:34 +0100
committerMax Kellermann <max@duempel.org>2009-11-12 09:16:34 +0100
commit8068fd5228472387cc83b49ed4e9710f8452b865 (patch)
tree4800c4547380957fdf1a76346b3d42619039f89e /src/decoder
parentb9c610ac87ab48247be83fc66f9d7af84b54f52f (diff)
downloadmpd-8068fd5228472387cc83b49ed4e9710f8452b865.tar.gz
mpd-8068fd5228472387cc83b49ed4e9710f8452b865.tar.xz
mpd-8068fd5228472387cc83b49ed4e9710f8452b865.zip
decoder/vorbis: fixed gcc "signed" warning
Diffstat (limited to 'src/decoder')
-rwxr-xr-xsrc/decoder/vorbis_plugin.c4
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");