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/wav.c | |
| parent | 12f3fec388ae56f8fb2e50b681dbde81d4669208 (diff) | |
| download | rockbox-c76904be53352ec1e7a743de1e7ea2ce51b513d2.zip rockbox-c76904be53352ec1e7a743de1e7ea2ce51b513d2.tar.gz rockbox-c76904be53352ec1e7a743de1e7ea2ce51b513d2.tar.bz2 rockbox-c76904be53352ec1e7a743de1e7ea2ce51b513d2.tar.xz | |
Fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9230 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/wav.c')
| -rw-r--r-- | apps/codecs/wav.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/wav.c b/apps/codecs/wav.c index 2bde1c2..70d4144 100644 --- a/apps/codecs/wav.c +++ b/apps/codecs/wav.c @@ -258,7 +258,7 @@ next_track: ci->yield(); /* assume the WAV 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; @@ -449,7 +449,7 @@ next_track: bytesdone = newpos; ci->seek_complete(); } - wavbuf = (uint8_t *)ci->request_buffer((long *)&n, chunksize); + wavbuf = (uint8_t *)ci->request_buffer(&n, chunksize); if (n == 0) break; /* End of stream */ |