Amend some comments refer to the 'offset_t' type. It no longer exists.

This commit is contained in:
Tsuda Kageyu 2015-12-02 11:36:54 +09:00
parent 060a50ab11
commit d97292c593
2 changed files with 2 additions and 2 deletions

View File

@ -609,7 +609,7 @@ ByteVector ID3v2::Tag::render(int version) const
}
// Compute the amount of padding, and append that to tagData.
// TODO: Should be calculated in offset_t in taglib2.
// TODO: Should be calculated in long long in taglib2.
long originalSize = d->header.tagSize();
long paddingSize = originalSize - (tagData.size() - Header::size());

View File

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