- Fix incompatible type warnings

git-svn-id: https://svn.musicpd.org/mpd/trunk@3169 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Avuton Olrich 2005-03-29 00:41:59 +00:00
parent f814dd22ab
commit f962c1034e

View File

@ -206,7 +206,7 @@ float getAacFloatTotalTime(char * file) {
size_t fileread, tagsize;
faacDecHandle decoder;
faacDecConfigurationPtr config;
unsigned long sampleRate;
unsigned int sampleRate;
unsigned char channels;
InputStream inStream;
size_t bread;
@ -257,7 +257,7 @@ int aac_decode(OutputBuffer * cb, DecoderControl * dc, char * path) {
faacDecFrameInfo frameInfo;
faacDecConfigurationPtr config;
size_t bread;
unsigned long sampleRate;
unsigned int sampleRate;
unsigned char channels;
int eof = 0;
unsigned int sampleCount;