summaryrefslogtreecommitdiffstats
path: root/apps/codecs/wav.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/wav.c')
-rw-r--r--apps/codecs/wav.c3
1 files changed, 2 insertions, 1 deletions
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;