Fix implicit long to int conversions

This commit is contained in:
Stephen F. Booth 2023-12-17 11:06:51 -06:00 committed by Urs Fleisch
parent c1d8159a34
commit 9a08678098

View File

@ -80,7 +80,7 @@ void MPEG::XingHeader::parse(const ByteVector &data)
{
// Look for a Xing header.
long offset = data.find("Xing");
auto offset = data.find("Xing");
if(offset < 0)
offset = data.find("Info");