minor syntax
authorJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 18 Jun 2002 16:08:01 +0000 (16:08 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 18 Jun 2002 16:08:01 +0000 (16:08 +0000)
src/flac/decode.c

index fe5f4c1..4f8a355 100644 (file)
@@ -491,7 +491,7 @@ FLAC__bool init(const char *infilename, stream_info_struct *stream_info)
                 * the callback down to 'FLAC__StreamDecoder *'.  In C++ this would be
                 * unnecessary but here the cast makes the C compiler happy.
                 */
-               FLAC__stream_decoder_set_write_callback(stream_info->decoder.stream, (FLAC__StreamDecoderWriteStatus (*)(const FLAC__StreamDecoder *, const FLAC__Frame *, const FLAC__int32 *[], void *))write_callback);
+               FLAC__stream_decoder_set_write_callback(stream_info->decoder.stream, (FLAC__StreamDecoderWriteStatus (*)(const FLAC__StreamDecoder *, const FLAC__Frame *, const FLAC__int32 * const [], void *))write_callback);
                FLAC__stream_decoder_set_metadata_callback(stream_info->decoder.stream, (void (*)(const FLAC__StreamDecoder *, const FLAC__StreamMetadata *, void *))metadata_callback);
                FLAC__stream_decoder_set_error_callback(stream_info->decoder.stream, (void (*)(const FLAC__StreamDecoder *, FLAC__StreamDecoderErrorStatus, void *))error_callback);
                FLAC__stream_decoder_set_client_data(stream_info->decoder.stream, stream_info);