Fix warnings with VS2010

This commit is contained in:
Tsuda Kageyu
2012-08-23 20:54:18 +09:00
parent 9bb57fe0a7
commit 590cd4c9f6
11 changed files with 20 additions and 18 deletions

View File

@ -243,7 +243,7 @@ bool FLAC::File::save()
}
ByteVector padding = ByteVector::fromUInt(paddingLength);
padding.resize(paddingLength + 4);
padding[0] = FLAC::MetadataBlock::Padding | LastBlockFlag;
padding[0] = (char)(FLAC::MetadataBlock::Padding | LastBlockFlag);
data.append(padding);
// Write the data to the file