diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2005-03-08 23:56:32 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2005-03-08 23:56:32 +0000 |
| commit | d748953d51e7f23233a1b4524464ee1c3a5954f3 (patch) | |
| tree | 487ce6d02685036dcf4746d8a5354d94c61ec9c0 /apps/codecs/libFLAC/stream_decoder.c | |
| parent | ca15a18d0bb028594e5504707e1401f26b3ecbf7 (diff) | |
| download | rockbox-d748953d51e7f23233a1b4524464ee1c3a5954f3.zip rockbox-d748953d51e7f23233a1b4524464ee1c3a5954f3.tar.gz rockbox-d748953d51e7f23233a1b4524464ee1c3a5954f3.tar.bz2 rockbox-d748953d51e7f23233a1b4524464ee1c3a5954f3.tar.xz | |
fix proto and function to kill two simulator warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6172 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libFLAC/stream_decoder.c')
| -rw-r--r-- | apps/codecs/libFLAC/stream_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libFLAC/stream_decoder.c b/apps/codecs/libFLAC/stream_decoder.c index 4d5dd0a..8ff9c8b 100644 --- a/apps/codecs/libFLAC/stream_decoder.c +++ b/apps/codecs/libFLAC/stream_decoder.c @@ -2129,7 +2129,7 @@ FLAC__bool read_residual_partitioned_rice_(FLAC__StreamDecoder *decoder, unsigne return false; /* the read_callback_ sets the state for us */ partitioned_rice_contents->raw_bits[partition] = rice_parameter; for(u = (partition_order == 0 || partition > 0)? 0 : predictor_order; u < partition_samples; u++, sample++) { - if(!FLAC__bitbuffer_read_raw_int32(decoder->private_->input, &i, rice_parameter, read_callback_, decoder)) + if(!FLAC__bitbuffer_read_raw_int32(decoder->private_->input, (FLAC__uint32 *)&i, rice_parameter, read_callback_, decoder)) return false; /* the read_callback_ sets the state for us */ residual[sample] = i; } |