Use offset_t in XM::File::save()

This commit is contained in:
Stephen F. Booth 2023-12-18 21:56:24 -06:00 committed by Urs Fleisch
parent d869f1b3e4
commit 1ee7493abc

View File

@ -417,7 +417,7 @@ bool XM::File::save()
if(!readU16L(patternCount) || !readU16L(instrumentCount))
return false;
long pos = 60 + headerSize; // should be long long in taglib2.
offset_t pos = 60 + headerSize;
// need to read patterns again in order to seek to the instruments:
for(unsigned short i = 0; i < patternCount; ++ i) {