From 78520e62441b1460703407285fefa5d90a364f6d Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 1 Mar 2005 21:53:34 +0000 Subject: Fixed some warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6098 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 2035a45810..815eb5af67 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -567,7 +567,6 @@ bool dbg_partitions(void) } #ifdef HAVE_LCD_BITMAP -static bool boost = false; /* Test code!!! */ bool dbg_ports(void) { @@ -694,19 +693,19 @@ bool dbg_ports(void) { case BUTTON_UP: cpu_boost(true); - snprintf(buf, sizeof(buf), "freq: %d, IDECONFIG1: %08x, IDECONFIG2: %08x", FREQ, IDECONFIG1, IDECONFIG2); + snprintf(buf, sizeof(buf), "freq: %ld, IDECONFIG1: %08lx, IDECONFIG2: %08lx", FREQ, IDECONFIG1, IDECONFIG2); splash(HZ, false, buf); break; case BUTTON_DOWN: cpu_boost(false); - snprintf(buf, sizeof(buf), "freq: %d, IDECONFIG1: %08x, IDECONFIG2: %08x", FREQ, IDECONFIG1, IDECONFIG2); + snprintf(buf, sizeof(buf), "freq: %ld, IDECONFIG1: %08lx, IDECONFIG2: %08lx", FREQ, IDECONFIG1, IDECONFIG2); splash(HZ, false, buf); break; case BUTTON_SELECT: set_cpu_frequency(CPUFREQ_DEFAULT); - snprintf(buf, sizeof(buf), "freq: %d, IDECONFIG1: %08x, IDECONFIG2: %08x", FREQ, IDECONFIG1, IDECONFIG2); + snprintf(buf, sizeof(buf), "freq: %ld, IDECONFIG1: %08lx, IDECONFIG2: %08lx", FREQ, IDECONFIG1, IDECONFIG2); splash(HZ, false, buf); break; -- cgit v1.2.3