summaryrefslogtreecommitdiff
path: root/apps/codecs/alac.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/alac.c')
-rw-r--r--apps/codecs/alac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/alac.c b/apps/codecs/alac.c
index a1c4f41683..df256a36b4 100644
--- a/apps/codecs/alac.c
+++ b/apps/codecs/alac.c
@@ -126,7 +126,7 @@ enum codec_status codec_start(struct codec_api* api)
126 126
127 /* Request the required number of bytes from the input buffer */ 127 /* Request the required number of bytes from the input buffer */
128 128
129 buffer=ci->request_buffer((long*)&n,sample_byte_size); 129 buffer=ci->request_buffer(&n,sample_byte_size);
130 if (n!=sample_byte_size) { 130 if (n!=sample_byte_size) {
131 retval = CODEC_ERROR; 131 retval = CODEC_ERROR;
132 goto exit; 132 goto exit;