Fix compilation on MSVC 2010 with the C++0x version of std::bitset

Hopefuly it doesn't break anything on older compilers...


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1216365 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Lukáš Lalinský
2011-01-22 21:07:16 +00:00
parent 0087895206
commit b051df0062
4 changed files with 3 additions and 4 deletions

View File

@ -168,7 +168,7 @@ void MPEG::Header::parse(const ByteVector &data)
return;
}
std::bitset<32> flags(data.toUInt());
std::bitset<32> flags(static_cast<unsigned long long>(data.toUInt()));
// Check for the second byte's part of the MPEG synch