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

This commit is contained in:
Stephen F. Booth
2023-12-20 12:05:26 +01:00
committed by Urs Fleisch
parent d869f1b3e4
commit 1ee7493abc
+1 -1
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) {