diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2006-10-15 08:32:56 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2006-10-15 08:32:56 +0000 |
commit | 8065a2d3a57b6db22e0221c9d06d8faa22ba1b45 (patch) | |
tree | b233fe836b62b82fb8402c73e1131be0aab53abf /src/plugin_xmms | |
parent | 3c91754e74d291f82d94dabd47561386e489e770 (diff) | |
download | flac-8065a2d3a57b6db22e0221c9d06d8faa22ba1b45.tar.gz |
change "bytes" parameter of all read callbacks from "unsigned" to "size_t"
Diffstat (limited to 'src/plugin_xmms')
-rw-r--r-- | src/plugin_xmms/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin_xmms/plugin.c b/src/plugin_xmms/plugin.c index ba0219af..113fd1ad 100644 --- a/src/plugin_xmms/plugin.c +++ b/src/plugin_xmms/plugin.c @@ -91,7 +91,7 @@ static FLAC__bool safe_decoder_init_(const char *filename, FLAC__StreamDecoder * static void safe_decoder_finish_(FLAC__StreamDecoder *decoder); static void safe_decoder_delete_(FLAC__StreamDecoder *decoder); -static FLAC__StreamDecoderReadStatus http_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data); +static FLAC__StreamDecoderReadStatus http_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data); static FLAC__StreamDecoderWriteStatus write_callback_(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); static void metadata_callback_(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data); static void error_callback_(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data); @@ -577,7 +577,7 @@ void safe_decoder_delete_(FLAC__StreamDecoder *decoder) } } -FLAC__StreamDecoderReadStatus http_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data) +FLAC__StreamDecoderReadStatus http_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data) { (void)decoder; (void)client_data; |