minor cosmetics

This commit is contained in:
Josh Coalson
2002-09-25 06:06:55 +00:00
parent 07b4fb77e2
commit da2dcd0404
4 changed files with 4 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ static void init_metadata_blocks_()
application2_.data.application.data = 0;
{
const unsigned vendor_string_length = (unsigned)strlen((const char *)FLAC__VENDOR_STRING);
const unsigned vendor_string_length = (unsigned)strlen(FLAC__VENDOR_STRING);
vorbiscomment_.is_last = true;
vorbiscomment_.type = FLAC__METADATA_TYPE_VORBIS_COMMENT;
vorbiscomment_.length = (4 + vendor_string_length) + 4 + (4 + 5) + (4 + 0);

View File

@@ -286,7 +286,7 @@ static bool generate_file_()
memset(streaminfo.data.stream_info.md5sum, 0, 16);
{
const unsigned vendor_string_length = (unsigned)strlen((const char*)FLAC__VENDOR_STRING);
const unsigned vendor_string_length = (unsigned)strlen(FLAC__VENDOR_STRING);
vorbiscomment.is_last = false;
vorbiscomment.type = FLAC__METADATA_TYPE_VORBIS_COMMENT;
vorbiscomment.length = (4 + vendor_string_length) + 4;