diff --git a/taglib/ape/apefooter.cpp b/taglib/ape/apefooter.cpp index 3cae0b2f..6cef213b 100644 --- a/taglib/ape/apefooter.cpp +++ b/taglib/ape/apefooter.cpp @@ -189,7 +189,7 @@ void Footer::parse(const ByteVector &data) // Read the flags - std::bitset<32> flags(static_cast(data.mid(20, 4).toUInt(false))); + std::bitset<32> flags(static_cast(data.mid(20, 4).toUInt(false))); d->headerPresent = flags[31]; d->footerPresent = !flags[30]; diff --git a/taglib/mpc/mpcproperties.cpp b/taglib/mpc/mpcproperties.cpp index 8ac81b6e..b644053b 100644 --- a/taglib/mpc/mpcproperties.cpp +++ b/taglib/mpc/mpcproperties.cpp @@ -113,7 +113,7 @@ void MPC::Properties::read() if(d->version >= 7) { frames = d->data.mid(4, 4).toUInt(false); - std::bitset<32> flags(static_cast(d->data.mid(8, 4).toUInt(false))); + std::bitset<32> flags(static_cast(d->data.mid(8, 4).toUInt(false))); d->sampleRate = sftable[flags[17] * 2 + flags[16]]; d->channels = 2; } diff --git a/taglib/mpeg/mpegheader.cpp b/taglib/mpeg/mpegheader.cpp index bdc15554..ecd4fc84 100644 --- a/taglib/mpeg/mpegheader.cpp +++ b/taglib/mpeg/mpegheader.cpp @@ -168,7 +168,7 @@ void MPEG::Header::parse(const ByteVector &data) return; } - std::bitset<32> flags(static_cast(data.toUInt())); + std::bitset<32> flags(static_cast(data.toUInt())); // Check for the second byte's part of the MPEG synch