diff --git a/apps/codecs/a52.c b/apps/codecs/a52.c index e3144fd2f9..fb881f8483 100644 --- a/apps/codecs/a52.c +++ b/apps/codecs/a52.c @@ -122,7 +122,7 @@ extern char iramend[]; /* this is the codec entry point */ enum codec_status codec_start(struct codec_api *api) { - size_t n; + long n; unsigned char *filebuf; /* Generic codec initialisation */ diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index 66c181e74b..557274a637 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c @@ -72,7 +72,7 @@ void recalc_samplecount(void) enum codec_status codec_start(struct codec_api *api) { int status = 0; - size_t size; + long size; int file_end; int frame_skip; char *inputbuffer; diff --git a/apps/codecs/wav.c b/apps/codecs/wav.c index b1ac8272ee..ce3e48895c 100644 --- a/apps/codecs/wav.c +++ b/apps/codecs/wav.c @@ -213,7 +213,8 @@ enum codec_status codec_start(struct codec_api* api) int bytespersample=0; uint16_t bitspersample; uint32_t i; - size_t n, wavbufsize; + long n; + size_t wavbufsize; int endofstream; unsigned char* buf; uint16_t* wavbuf;