summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-08-30 23:08:12 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-08-30 23:08:12 +0000
commit589490c6c55e2a0bf31566e260c29445818f19e9 (patch)
treea37757c8a6a88136f6465b0c215d476a82f380b9
parent640c4107f3bd657015486f2d487230aa5e6f6e33 (diff)
downloadrockbox-589490c6c55e2a0bf31566e260c29445818f19e9.tar.gz
rockbox-589490c6c55e2a0bf31566e260c29445818f19e9.zip
don't cast to int when not needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27954 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/playback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 08f2b509a0..f3c5db309e 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -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;