From bb2eecb49626f7a08cfa3bcecb6fbd255143352f Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Fri, 14 Apr 2006 04:46:05 +0000 Subject: [PATCH] comment a type change for audio debug git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9654 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/debug_menu.c b/apps/debug_menu.c index fff124f779..55c880c949 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -209,8 +209,9 @@ bool dbg_audio_thread(void) } #else /* CONFIG_CODEC == SWCODEC */ extern size_t audiobuffer_free; -extern int filebuflen; -extern int filebufused; +extern size_t filebuflen; +/* This is a size_t, but call it a long so it puts a - when it's bad. */ +extern long filebufused; static unsigned int ticks, boost_ticks; @@ -267,7 +268,7 @@ bool dbg_audio_thread(void) bufsize-audiobuffer_free, HORIZONTAL); line++; - snprintf(buf, sizeof(buf), "codec: %8d/%8d", filebufused, filebuflen); + snprintf(buf, sizeof(buf), "codec: %8ld/%8ld", filebufused, filebuflen); lcd_puts(0, line++, buf); /* Playable space left */