summaryrefslogtreecommitdiffstats
path: root/apps/codecs/alac.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-10-15 09:40:56 +0000
committerDave Chapman <dave@dchapman.com>2005-10-15 09:40:56 +0000
commit84d2f0e02953bac6b32dcd324edb8e28a52c1244 (patch)
treeaa867bc8a712fffc5f68ad62993611fd60b8b7c6 /apps/codecs/alac.c
parentc56069f01a3a86740424f7a815cc838d7b9491f4 (diff)
downloadrockbox-84d2f0e02953bac6b32dcd324edb8e28a52c1244.tar.gz
rockbox-84d2f0e02953bac6b32dcd324edb8e28a52c1244.zip
Fix compiler warnings in sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7631 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/alac.c')
-rw-r--r--apps/codecs/alac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/alac.c b/apps/codecs/alac.c
index 1a7d0f8bb0..c049ca114d 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