From d97292c59320826e275299a7fcafc5b16c821a6d Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Wed, 2 Dec 2015 11:36:54 +0900 Subject: [PATCH] Amend some comments refer to the 'offset_t' type. It no longer exists. --- taglib/mpeg/id3v2/id3v2tag.cpp | 2 +- taglib/xm/xmfile.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/taglib/mpeg/id3v2/id3v2tag.cpp b/taglib/mpeg/id3v2/id3v2tag.cpp index ac1bd66c..224a607f 100644 --- a/taglib/mpeg/id3v2/id3v2tag.cpp +++ b/taglib/mpeg/id3v2/id3v2tag.cpp @@ -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()); diff --git a/taglib/xm/xmfile.cpp b/taglib/xm/xmfile.cpp index a0bb5353..5919abac 100644 --- a/taglib/xm/xmfile.cpp +++ b/taglib/xm/xmfile.cpp @@ -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) { -- 2.40.0