$OpenBSD: patch-src_inputPlugins_aac_plugin_c,v 1.2 2008/09/15 22:04:17 jakemsr Exp $ --- src/inputPlugins/aac_plugin.c.orig Sun Jan 27 15:13:31 2008 +++ src/inputPlugins/aac_plugin.c Wed Jul 16 01:41:56 2008 @@ -237,7 +237,7 @@ static float getAacFloatTotalTime(char *file) size_t fileread, tagsize; faacDecHandle decoder; faacDecConfigurationPtr config; - unsigned long sampleRate; + unsigned int sampleRate; unsigned char channels; InputStream inStream; long bread; @@ -293,7 +293,7 @@ static int aac_decode(OutputBuffer * cb, DecoderContro faacDecFrameInfo frameInfo; faacDecConfigurationPtr config; long bread; - unsigned long sampleRate; + unsigned int sampleRate; unsigned char channels; int eof = 0; unsigned int sampleCount;