Unverified Commit 80d56528 authored by Wolle's avatar Wolle Committed by GitHub

fix error: no matching function for call to 'min(int32_t&, int)'

parent c8f573e7
......@@ -298,7 +298,7 @@ int vorbisDecodePage2(uint8_t* inbuf, int* bytesLeft, uint32_t segmentLength){
}
else {
s_commentBlockSegmentSize = segmentLength;
uint32_t pLen = min(s_vorbisRemainBlockPicLen, (int)segmentLength);
uint32_t pLen = min(s_vorbisRemainBlockPicLen, (int32_t)segmentLength);
if(s_vorbisRemainBlockPicLen && pLen > 0){
s_vorbisBlockPicItem.push_back(s_vorbisCurrentFilePos);
s_vorbisBlockPicItem.push_back(pLen);
......
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