mirror of
https://github.com/taglib/taglib.git
synced 2026-05-28 09:59:18 -04:00
Define a macro to properly construct std::bitset
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1216679 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@@ -168,7 +168,7 @@ void MPEG::Header::parse(const ByteVector &data)
|
||||
return;
|
||||
}
|
||||
|
||||
std::bitset<32> flags(static_cast<unsigned long>(data.toUInt()));
|
||||
std::bitset<32> flags(TAGLIB_CONSTRUCT_BITSET(data.toUInt()));
|
||||
|
||||
// Check for the second byte's part of the MPEG synch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user