summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-04-14 04:46:05 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-04-14 04:46:05 +0000
commitbb2eecb49626f7a08cfa3bcecb6fbd255143352f (patch)
tree0b4928febf59e6ae56a1debad3a62319534cb90b /apps
parent2f4edabfcecbbde68d531a9c11e8a6ecec9517b3 (diff)
downloadrockbox-bb2eecb49626f7a08cfa3bcecb6fbd255143352f.zip
rockbox-bb2eecb49626f7a08cfa3bcecb6fbd255143352f.tar.gz
rockbox-bb2eecb49626f7a08cfa3bcecb6fbd255143352f.tar.bz2
rockbox-bb2eecb49626f7a08cfa3bcecb6fbd255143352f.tar.xz
comment a type change for audio debug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9654 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index fff124f..55c880c 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 */