Commit 8068fd52 authored by Max Kellermann's avatar Max Kellermann

decoder/vorbis: fixed gcc "signed" warning

parent b9c610ac
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment