From 84d2f0e02953bac6b32dcd324edb8e28a52c1244 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 15 Oct 2005 09:40:56 +0000 Subject: Fix compiler warnings in sim. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7631 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/alac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/codecs/alac.c b/apps/codecs/alac.c index 1a7d0f8..c049ca1 100644 --- a/apps/codecs/alac.c +++ b/apps/codecs/alac.c @@ -179,7 +179,7 @@ static int get_sample_info(demux_res_t *demux_res, uint32_t samplenum, static unsigned int alac_seek (demux_res_t* demux_res, unsigned int sample_loc, - size_t* samplesdone, int* currentblock) + uint32_t* samplesdone, int* currentblock) { int flag; unsigned int i,j; @@ -327,7 +327,7 @@ enum codec_status codec_start(struct codec_api* api) /* Request the required number of bytes from the input buffer */ - buffer=ci->request_buffer(&n,sample_byte_size); + buffer=ci->request_buffer((long*)&n,sample_byte_size); if (n!=sample_byte_size) { /* The decode_frame function requires the whole frame, so if we can't get it contiguously from the buffer, then we need to -- cgit v1.1