mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
minor syntax
This commit is contained in:
@@ -576,7 +576,7 @@ static FLAC__bool generate_aiff(const char *filename, unsigned sample_rate, unsi
|
||||
goto foo;
|
||||
if(fwrite("AIFFCOMM\000\000\000\022", 1, 12, f) < 12)
|
||||
goto foo;
|
||||
if(!write_big_endian_uint16(f, channels))
|
||||
if(!write_big_endian_uint16(f, (FLAC__uint16)channels))
|
||||
goto foo;
|
||||
if(!write_big_endian_uint32(f, samples))
|
||||
goto foo;
|
||||
@@ -619,7 +619,7 @@ static FLAC__bool generate_wav(const char *filename, unsigned sample_rate, unsig
|
||||
goto foo;
|
||||
if(fwrite("WAVEfmt \020\000\000\000\001\000", 1, 14, f) < 14)
|
||||
goto foo;
|
||||
if(!write_little_endian_uint16(f, channels))
|
||||
if(!write_little_endian_uint16(f, (FLAC__uint16)channels))
|
||||
goto foo;
|
||||
if(!write_little_endian_uint32(f, sample_rate))
|
||||
goto foo;
|
||||
|
||||
Reference in New Issue
Block a user