forked from len0rd/rockbox
Fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9230 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
12f3fec388
commit
c76904be53
8 changed files with 10 additions and 10 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue