diff options
| author | Dave Chapman <dave@dchapman.com> | 2005-02-16 20:13:12 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2005-02-16 20:13:12 +0000 |
| commit | f729fce058d863b6df15ea4ca22e033820b783a0 (patch) | |
| tree | 2ef91e47b8631b8e4ad6d6a765b15a294b4adde3 /apps/codecs/libFLAC/stream_decoder.c | |
| parent | 23b3a45acd70239479158afa1c994f0fd32793cd (diff) | |
| download | rockbox-f729fce058d863b6df15ea4ca22e033820b783a0.zip rockbox-f729fce058d863b6df15ea4ca22e033820b783a0.tar.gz rockbox-f729fce058d863b6df15ea4ca22e033820b783a0.tar.bz2 rockbox-f729fce058d863b6df15ea4ca22e033820b783a0.tar.xz | |
Fix some compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5986 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libFLAC/stream_decoder.c')
| -rw-r--r-- | apps/codecs/libFLAC/stream_decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libFLAC/stream_decoder.c b/apps/codecs/libFLAC/stream_decoder.c index 845ff90..ec43314 100644 --- a/apps/codecs/libFLAC/stream_decoder.c +++ b/apps/codecs/libFLAC/stream_decoder.c @@ -180,7 +180,7 @@ FLAC_API const char * const FLAC__StreamDecoderErrorStatusString[] = { * Class constructor/destructor * ***********************************************************************/ -FLAC_API FLAC__StreamDecoder *FLAC__stream_decoder_new() +FLAC_API FLAC__StreamDecoder *FLAC__stream_decoder_new(void) { FLAC__StreamDecoder *decoder; unsigned i; @@ -1828,7 +1828,7 @@ FLAC__bool read_subframe_(FLAC__StreamDecoder *decoder, unsigned channel, unsign x &= 0xfe; if(wasted_bits) { - unsigned u; + FLAC__uint32 u; if(!FLAC__bitbuffer_read_unary_unsigned(decoder->private_->input, &u, read_callback_, decoder)) return false; /* the read_callback_ sets the state for us */ decoder->private_->frame.subframes[channel].wasted_bits = u+1; |