diff --git a/taglib/mpeg/id3v2/frames/textidentificationframe.cpp b/taglib/mpeg/id3v2/frames/textidentificationframe.cpp index 708c7acf..6a03aa79 100644 --- a/taglib/mpeg/id3v2/frames/textidentificationframe.cpp +++ b/taglib/mpeg/id3v2/frames/textidentificationframe.cpp @@ -241,7 +241,7 @@ void TextIdentificationFrame::parseFields(const ByteVector &data) // type is the same specified for this frame unsigned short firstBom = 0; - for(auto it = l.begin(); it != l.end(); it++) { + for(auto it = l.begin(); it != l.end(); ++it) { if(!it->isEmpty() || (it == l.begin() && frameID() == "TXXX")) { if(d->textEncoding == String::Latin1) { d->fieldList.append(Tag::latin1StringHandler()->parse(*it)); @@ -278,7 +278,7 @@ ByteVector TextIdentificationFrame::renderFields() const v.append(static_cast(encoding)); - for(auto it = d->fieldList.cbegin(); it != d->fieldList.cend(); it++) { + for(auto it = d->fieldList.cbegin(); it != d->fieldList.cend(); ++it) { // Since the field list is null delimited, if this is not the first // element in the list, append the appropriate delimiter for this diff --git a/taglib/mpeg/id3v2/id3v2synchdata.cpp b/taglib/mpeg/id3v2/id3v2synchdata.cpp index 7ba353ee..943d84c1 100644 --- a/taglib/mpeg/id3v2/id3v2synchdata.cpp +++ b/taglib/mpeg/id3v2/id3v2synchdata.cpp @@ -90,7 +90,7 @@ ByteVector SynchData::decode(const ByteVector &data) *dst++ = *src++; if(*(src - 1) == '\xff' && *src == '\x00') - src++; + ++src; } if(src < data.end())