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:
Rafaël Carré 2010-08-30 23:08:12 +00:00
parent 640c4107f3
commit 589490c6c5

View file

@ -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;