From 03dc7b9a241f170a53ba016e415b84c3c232a451 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 5 Feb 2009 21:02:17 +0000 Subject: fixed build git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@776 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/mad/decoder_mad.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/mad/decoder_mad.cpp') diff --git a/src/plugins/Input/mad/decoder_mad.cpp b/src/plugins/Input/mad/decoder_mad.cpp index daa1d8872..b4ff243ae 100644 --- a/src/plugins/Input/mad/decoder_mad.cpp +++ b/src/plugins/Input/mad/decoder_mad.cpp @@ -471,7 +471,7 @@ void DecoderMAD::run() { //skip ID3v2 tag uint tagSize = findID3v2((uchar *)stream.this_frame, - (uint) stream.bufend - (uint) stream.this_frame); + (ulong) (stream.bufend - stream.this_frame)); if (tagSize > 0) { mad_stream_skip(&stream, tagSize); @@ -548,7 +548,7 @@ void DecoderMAD::run() } -uint DecoderMAD::findID3v2(uchar *data, uint size) //retuns ID3v2 tag size +uint DecoderMAD::findID3v2(uchar *data, ulong size) //retuns ID3v2 tag size { if (size < 10) return 0; -- cgit v1.2.3-13-gbd6f