From 589490c6c55e2a0bf31566e260c29445818f19e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 30 Aug 2010 23:08:12 +0000 Subject: [PATCH] don't cast to int when not needed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27954 a1c6a512-1295-4272-9138-f99709370657 --- apps/playback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;