diff options
| -rw-r--r-- | src/plugins/Input/mad/decoder_mad.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/Input/mad/decoder_mad.h | 2 |
2 files changed, 3 insertions, 3 deletions
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; |
