don't cast to int when not needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27954 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
640c4107f3
commit
589490c6c5
1 changed files with 1 additions and 1 deletions
|
@ -1864,7 +1864,7 @@ static void audio_reset_buffer(void)
|
|||
/* Subtract whatever the pcm buffer says it used plus the guard buffer */
|
||||
const size_t pcmbuf_size = pcmbuf_init(filebuf + filebuflen) +GUARD_BUFSIZE;
|
||||
if(pcmbuf_size > filebuflen)
|
||||
panicf("%s(): EOM (%d > %d)", __func__, (int)pcmbuf_size, (int)filebuflen);
|
||||
panicf("%s(): EOM (%zu > %zu)", __func__, pcmbuf_size, filebuflen);
|
||||
|
||||
filebuflen -= pcmbuf_size;
|
||||
|
||||
|
|
Loading…
Reference in a new issue