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 ++-- src/plugins/Input/mad/decoder_mad.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins') 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; diff --git a/src/plugins/Input/mad/decoder_mad.h b/src/plugins/Input/mad/decoder_mad.h index 5caca7eba..5e1b72877 100644 --- a/src/plugins/Input/mad/decoder_mad.h +++ b/src/plugins/Input/mad/decoder_mad.h @@ -43,7 +43,7 @@ private: void deinit(); bool findHeader(); bool findXingHeader(struct mad_bitptr, unsigned int); - uint findID3v2(uchar *data, uint size); + uint findID3v2(uchar *data, ulong size); bool inited, user_stop, done, m_finish, derror, eof, useeq; qint64 totalTime, seekTime; int channels; -- cgit v1.2.3-13-gbd6f