From 8068fd5228472387cc83b49ed4e9710f8452b865 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 12 Nov 2009 09:16:34 +0100 Subject: decoder/vorbis: fixed gcc "signed" warning --- src/decoder/vorbis_plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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"); -- cgit v1.2.3