aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/mad/decoder_mad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/mad/decoder_mad.cpp')
-rw-r--r--src/plugins/Input/mad/decoder_mad.cpp4
1 files changed, 2 insertions, 2 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;