]> granicus.if.org Git - taglib/commitdiff
Amend some comments refer to the 'offset_t' type. It no longer exists.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Wed, 2 Dec 2015 02:36:54 +0000 (11:36 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Wed, 2 Dec 2015 02:36:54 +0000 (11:36 +0900)
taglib/mpeg/id3v2/id3v2tag.cpp
taglib/xm/xmfile.cpp

index ac1bd66c2bc3b14bacbfcac95ee7e11ea48cea51..224a607fa9393c7db02b38c5b46a05d2e6ef3961 100644 (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());
index a0bb53536326fd0eec75bb55958a50a3b97fe1dd..5919abace70394cf567dcb5ea446598c1f93d713 100644 (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) {