diff options
author | Brandon Low <lostlogic@rockbox.org> | 2006-03-24 14:02:27 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2006-03-24 14:02:27 +0000 |
commit | c76904be53352ec1e7a743de1e7ea2ce51b513d2 (patch) | |
tree | 0387894965d38baee56c7c283dad172a621f9681 /apps/codecs/aiff.c | |
parent | 12f3fec388ae56f8fb2e50b681dbde81d4669208 (diff) | |
download | rockbox-c76904be53352ec1e7a743de1e7ea2ce51b513d2.tar.gz rockbox-c76904be53352ec1e7a743de1e7ea2ce51b513d2.zip |
Fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9230 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/aiff.c')
-rw-r--r-- | apps/codecs/aiff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/aiff.c b/apps/codecs/aiff.c index 5549d63239..144f4627bb 100644 --- a/apps/codecs/aiff.c +++ b/apps/codecs/aiff.c @@ -95,7 +95,7 @@ next_track: ci->yield(); /* assume the AIFF header is less than 1024 bytes */ - buf = ci->request_buffer((long *)&n, 1024); + buf = ci->request_buffer(&n, 1024); if (n < 44) { i = CODEC_ERROR; goto exit; @@ -235,7 +235,7 @@ next_track: bytesdone = newpos; ci->seek_complete(); } - aifbuf = (uint8_t *)ci->request_buffer((long *)&n, chunksize); + aifbuf = (uint8_t *)ci->request_buffer(&n, chunksize); if (n == 0) break; /* End of stream */ |