mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Amend some comments refer to the 'offset_t' type. It no longer exists.
This commit is contained in:
parent
060a50ab11
commit
d97292c593
@ -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());
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user