aboutsummaryrefslogtreecommitdiff
path: root/src
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
parentb9c610ac87ab48247be83fc66f9d7af84b54f52f (diff)
decoder/vorbis: fixed gcc "signed" warning
Diffstat (limited to 'src')
-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 901356fe..0f37956a 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");