minor syntax
authorJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 10 Oct 2006 00:33:00 +0000 (00:33 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 10 Oct 2006 00:33:00 +0000 (00:33 +0000)
src/test_streams/main.c

index 89939d0..526c757 100644 (file)
@@ -633,7 +633,7 @@ static FLAC__bool generate_wav(const char *filename, unsigned sample_rate, unsig
                goto foo;
        if(!write_little_endian_uint32(f, waveformatextensible?40:16))
                goto foo;
-       if(!write_little_endian_uint16(f, waveformatextensible?65534:1))
+       if(!write_little_endian_uint16(f, (FLAC__uint16)(waveformatextensible?65534:1)))
                goto foo;
        if(!write_little_endian_uint16(f, (FLAC__uint16)channels))
                goto foo;