mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 13:10:26 -04:00
Use offset_t in XM::File::save()
This commit is contained in:
parent
d869f1b3e4
commit
1ee7493abc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user