win32 compile / warnings--

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@658841 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Christian Ehrlicher 2007-04-28 16:31:29 +00:00
parent 1d52e6f67c
commit 6e5ab96a4d
2 changed files with 6 additions and 6 deletions

View File

@ -173,7 +173,7 @@ bool FLAC::File::save()
ByteVector header = readBlock(4);
char blockType = header[0] & 0x7f;
isLastBlock = header[0] & 0x80;
isLastBlock = (header[0] & 0x80) != 0;
uint blockLength = header.mid(1, 3).toUInt();
if(blockType == VorbisComment) {
@ -191,7 +191,7 @@ bool FLAC::File::save()
seek(firstBlockOffset);
ByteVector header = readBlock(4);
bool isLastBlock = header[0] & 0x80;
bool isLastBlock = (header[0] & 0x80) != 0;
uint blockLength = header.mid(1, 3).toUInt();
if(isLastBlock) {
@ -384,7 +384,7 @@ void FLAC::File::scan()
// <24> Length of metadata to follow
char blockType = header[0] & 0x7f;
bool isLastBlock = header[0] & 0x80;
bool isLastBlock = (header[0] & 0x80) != 0;
uint length = header.mid(1, 3).toUInt();
// First block should be the stream_info metadata
@ -403,7 +403,7 @@ void FLAC::File::scan()
while(!isLastBlock) {
header = readBlock(4);
blockType = header[0] & 0x7f;
isLastBlock = header[0] & 0x80;
isLastBlock = (header[0] & 0x80) != 0;
length = header.mid(1, 3).toUInt();
if(blockType == Padding) {

View File

@ -216,7 +216,7 @@ void Ogg::FLAC::File::scan()
// <24> Length of metadata to follow
char blockType = header[0] & 0x7f;
bool lastBlock = header[0] & 0x80;
bool lastBlock = (header[0] & 0x80) != 0;
uint length = header.mid(1, 3).toUInt();
overhead += length;
@ -239,7 +239,7 @@ void Ogg::FLAC::File::scan()
header = metadataHeader.mid(0, 4);
blockType = header[0] & 0x7f;
lastBlock = header[0] & 0x80;
lastBlock = (header[0] & 0x80) != 0;
length = header.mid(1, 3).toUInt();
overhead += length;